• Krzysztof Halasa's avatar
    IXP4xx: Fix Goramo Multilink GPIO conversion. · e1a4018f
    Krzysztof Halasa authored
    Commit 098e30f6 "ARM: ixp4xx: stop broadcasting the custom GPIO API"
    changed the internal gpio code of ixp4xx to be accessible only from
    common.c, but unfortunately that broke the Goramo MultiLink code, which
    uses this API.
    
    arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'set_scl':
    arch/arm/mach-ixp4xx/goramo_mlr.c:82: error: implicit declaration of function 'gpio_line_set'
    
    arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'output_control':
    arch/arm/mach-ixp4xx/goramo_mlr.c:111: error: implicit declaration of function 'gpio_line_config'
    arch/arm/mach-ixp4xx/goramo_mlr.c:111: error: 'IXP4XX_GPIO_OUT' undeclared
    
    arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'hss_dcd_irq':
    arch/arm/mach-ixp4xx/goramo_mlr.c:155: error: implicit declaration of function 'gpio_line_get'
    
    arch/arm/mach-ixp4xx/goramo_mlr.c: In function 'gmlr_init':
    arch/arm/mach-ixp4xx/goramo_mlr.c:416: error: 'IXP4XX_GPIO_OUT' undeclared
    arch/arm/mach-ixp4xx/goramo_mlr.c:421: error: 'IXP4XX_GPIO_IN' undeclared
    Signed-off-by: default avatarKrzysztof Hałasa <khc@pm.waw.pl>
    Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    e1a4018f
goramo_mlr.c 12.4 KB