[Cbe-oss-dev] [PATCH 6/6] Cell: Draw SPE helper penguin logos
Arnd Bergmann
arnd at arndb.de
Wed Jan 31 12:15:39 EST 2007
On Tuesday 30 January 2007 19:02, Geert Uytterhoeven wrote:
> +#ifdef CONFIG_LOGO
> + if (ret > 0) {
> + extern const struct linux_logo logo_spe_clut224;
> + fb_append_extra_logo(&logo_spe_clut224, ret);
> + }
> +#endif
You should not have the #ifdef nor the extern declaration in here.
A better way to do it would be to have in include/linux/linux_logo.h
(or similar):
extern const struct linux_logo logo_spe_clut224;
#ifdef CONFIG_LOGO
extern void fb_append_extra_logo(const struct linux_logo *logo, int n);
#else
static inline void fb_append_extra_logo(const struct linux_logo *logo, int n)
{
}
#endif
Arnd <><
More information about the cbe-oss-dev
mailing list