[Cbe-oss-dev] [Linux-fbdev-devel] [patch 0/4] Cell SPE logos
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Jul 13 22:30:58 EST 2007
On Fri, 2007-07-13 at 11:09 +0200, Geert Uytterhoeven wrote:
> On Fri, 13 Jul 2007, Andrew Morton wrote:
> > On Fri, 13 Jul 2007 10:52:10 +0200 (CEST) Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com> wrote:
> >
> > > > > Summaries:
> > > > > [1] fbdev: extract fb_show_logo_line()
> > > > > [2] fbdev: Add fb_append_extra_logo()
> > > >
> > > > This one does give additional code and data to all fbdev users while only
> > > > being useful to cell machines. Should we fix that?
> > >
> > > I can protect it by #ifdef CONFIG_PPC_CELL (as long as there are no other
> > > users). Would that be OK?
> >
> > umm, your call. If that makes sense, sure.
>
> I just don't like putting platform-specific checks in common code.
>
> Perhaps I better add CONFIG_FB_LOGO_EXTRA and make it depend on
> CONFIG_PPC_CELL?
I hate depends when it's not a dependency... the logo extra code doesn't
-depend- technically on cell (it doesn't call cell only stuff). However,
cell wants it enabled, thus I'd rather use either the "default y if
PP_CELL" construct or select it from the cell option.
Ben.
More information about the cbe-oss-dev
mailing list