08 Nov, 2014

1 commit


10 Jul, 2014

1 commit

  • commit dabd14684bc2 "PCMCIA: sa1111: remove duplicated initializers"
    incorrectly moved some code into the pcmcia_jornada720_init, causing
    a few build errors, and for unknown reasons, the driver lacks
    an inclusion of , so we get the build errors, and more:

    sa1111_jornada720.c: In function 'pcmcia_jornada720_init':
    sa1111_jornada720.c:101:3: error: implicit declaration of function 'IOMEM' [-Werror=implicit-function-declaration]
    GRER |= 0x00000002;
    ^
    sa1111_jornada720.c:104:3: warning: passing argument 1 of 'sa1111_set_io_dir' from incompatible pointer type [enabled by default]
    sa1111_set_io_dir(dev, pin, 0, 0);
    ^

    This patch uses the SA1111_DEV() to convert the dev pointer to the
    correct type before passing it and adds the missing include.

    Signed-off-by: Arnd Bergmann
    Cc: Russell King
    Cc: Kristoffer Ericson
    Cc: linux-pcmcia@lists.infradead.org
    Signed-off-by: Greg Kroah-Hartman

    Arnd Bergmann
     

29 Nov, 2012

1 commit


21 Feb, 2012

1 commit