ARM: pxa: make pxafb_smart_*() empty when not enabled

Reported-by: Arnd Bergmann <[email protected]>
Signed-off-by: Eric Miao <[email protected]>
This commit is contained in:
Eric Miao 2011-10-08 18:19:23 +08:00
commit c9d1917c63
2 changed files with 13 additions and 10 deletions

View file

@ -1309,16 +1309,6 @@ static int pxafb_smart_init(struct pxafb_info *fbi)
return 0;
}
#else
int pxafb_smart_queue(struct fb_info *info, uint16_t *cmds, int n_cmds)
{
return 0;
}
int pxafb_smart_flush(struct fb_info *info)
{
return 0;
}
static inline int pxafb_smart_init(struct pxafb_info *fbi) { return 0; }
#endif /* CONFIG_FB_PXA_SMARTPANEL */