[lkml]   [2011]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH 11/26] ARM: pxa: allow building palm27x without pxafb
    The frame buffer device is defined conditionally on whether the
    driver is configured. However, the #ifdef guard around the
    declaration of palm27x_lcd_init also removes the visibility
    of the lcd mode declarations, which need to be available in
    order to build correctly, even if they are not defined in the

    Signed-off-by: Arnd Bergmann <>
    arch/arm/mach-pxa/include/mach/palm27x.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/arch/arm/mach-pxa/include/mach/palm27x.h b/arch/arm/mach-pxa/include/mach/palm27x.h
    index 0a5e5ea..030a916 100644
    --- a/arch/arm/mach-pxa/include/mach/palm27x.h
    +++ b/arch/arm/mach-pxa/include/mach/palm27x.h
    @@ -27,10 +27,10 @@ extern void __init palm27x_pm_init(unsigned long str_base);
    static inline void palm27x_pm_init(unsigned long str_base) {}

    -#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
    extern struct pxafb_mode_info palm_320x480_lcd_mode;
    extern struct pxafb_mode_info palm_320x320_lcd_mode;
    extern struct pxafb_mode_info palm_320x320_new_lcd_mode;
    +#if defined(CONFIG_FB_PXA) || defined(CONFIG_FB_PXA_MODULE)
    extern void __init palm27x_lcd_init(int power,
    struct pxafb_mode_info *mode);

     \ /
      Last update: 2011-10-01 22:07    [W:0.067 / U:0.188 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site