Skip to content

Commit

Permalink
ARM: pxa: fix building error by palm27x_lcd_init() when FB_PXA not de…
Browse files Browse the repository at this point in the history
…fined

Cc: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
  • Loading branch information
Eric Miao committed Oct 7, 2011
1 parent 976d167 commit e227e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-pxa/include/mach/palm27x.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ extern struct pxafb_mode_info palm_320x320_new_lcd_mode;
extern void __init palm27x_lcd_init(int power,
struct pxafb_mode_info *mode);
#else
static inline void palm27x_lcd_init(int power, struct pxafb_mode_info *mode) {}
#define palm27x_lcd_init(power, mode) do {} while (0)
#endif

#if defined(CONFIG_USB_GADGET_PXA27X) || \
Expand Down

0 comments on commit e227e88

Please sign in to comment.