lkml.org 
[lkml]   [2014]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.14 021/158] ARM: pxa: hx4700.h: include "irqs.h" for PXA_NR_BUILTIN_GPIO
    Date
    3.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Andrea Adami <andrea.adami@gmail.com>

    commit c02b50e90be9f41d6802049a1a08246e9eb1a22c upstream.

    hx4700 needs the same fix as in
    9705e74671f0e4f994d86b00cecf441917c64a66
    "ARM: pxa: fix various compilation problems"

    Fix build errors. Initial one is:
    /linux/arch/arm/mach-pxa/include/mach/hx4700.h:18:32: error:
    'PXA_NR_BUILTIN_GPIO' undeclared here (not in a function)
    | #define HX4700_ASIC3_GPIO_BASE PXA_NR_BUILTIN_GPIO

    Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/arm/mach-pxa/include/mach/hx4700.h | 1 +
    1 file changed, 1 insertion(+)

    --- a/arch/arm/mach-pxa/include/mach/hx4700.h
    +++ b/arch/arm/mach-pxa/include/mach/hx4700.h
    @@ -14,6 +14,7 @@

    #include <linux/gpio.h>
    #include <linux/mfd/asic3.h>
    +#include "irqs.h" /* PXA_NR_BUILTIN_GPIO */

    #define HX4700_ASIC3_GPIO_BASE PXA_NR_BUILTIN_GPIO
    #define HX4700_EGPIO_BASE (HX4700_ASIC3_GPIO_BASE + ASIC3_NUM_GPIOS)



    \
     
     \ /
      Last update: 2014-05-04 19:41    [W:2.241 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site