mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
ARM: pxa: fix building error by palm27x_lcd_init() when FB_PXA not defined
Cc: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
This commit is contained in:
parent
976d167615
commit
e227e88ae4
1 changed files with 1 additions and 1 deletions
|
@ -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) || \
|
||||
|
|
Loading…
Reference in a new issue