[ARM] pxa/colibri: fix missing variable name in inline functions
Even they are empty inline functions, the compiler still complains about the missing variable names. Signed-off-by: Eric Miao <eric.miao@marvell.com> Cc: Daniel Mack <daniel@caiaq.de>
This commit is contained in:
parent
f4efdd65b7
commit
0e983d3c38
@ -10,13 +10,13 @@
|
|||||||
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
|
#if defined(CONFIG_MMC_PXA) || defined(CONFIG_MMC_PXA_MODULE)
|
||||||
extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
|
extern void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin);
|
||||||
#else
|
#else
|
||||||
static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *, int, int) {}
|
static inline void colibri_pxa3xx_init_mmc(mfp_cfg_t *pins, int len, int detect_pin) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
|
#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
|
||||||
extern void colibri_pxa3xx_init_lcd(int bl_pin);
|
extern void colibri_pxa3xx_init_lcd(int bl_pin);
|
||||||
#else
|
#else
|
||||||
static inline void colibri_pxa3xx_init_lcd(int) {}
|
static inline void colibri_pxa3xx_init_lcd(int bl_pin) {}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_AX88796)
|
#if defined(CONFIG_AX88796)
|
||||||
|
Loading…
Reference in New Issue
Block a user