projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976d167
)
ARM: pxa: fix building error by palm27x_lcd_init() when FB_PXA not defined
author
Eric Miao
<eric.y.miao@gmail.com>
Sun, 11 Sep 2011 08:56:58 +0000
(16:56 +0800)
committer
Eric Miao
<eric.y.miao@gmail.com>
Fri, 7 Oct 2011 04:21:19 +0000
(12:21 +0800)
Cc: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-pxa/include/mach/palm27x.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/include/mach/palm27x.h
b/arch/arm/mach-pxa/include/mach/palm27x.h
index 0a5e5eadebf5a91f5bae443137536dc984b9784a..f80bbe246afe5812b17db200d709b13f6160f72c 100644
(file)
--- a/
arch/arm/mach-pxa/include/mach/palm27x.h
+++ b/
arch/arm/mach-pxa/include/mach/palm27x.h
@@
-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) || \