[Cbe-oss-dev] [PATCH 11/13] cell: split out board specific files

Benjamin Herrenschmidt benh at kernel.crashing.org
Thu May 4 12:03:05 EST 2006


> Yeah, what was I thinking.  So use some platform hook instead.

You must be smoking good stuff :)

> But Arnd of course is right; if the driver (currently) only works
> on a certain platform, just mark it as such in the Makefile (erm,
> Kconfig file).

Exactly :) I don't see any point in adding hooks or ifdef's or anything
fancy like that to guard from something that doesn't exist in real life:
that is building that driver on non-cell :) Thus Kconfig is the way to
go.





More information about the Linuxppc-dev mailing list