scr24x_cs: include linux/io.h
authorArnd Bergmann <arnd@arndb.de>
Wed, 16 Nov 2016 15:23:30 +0000 (16:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Nov 2016 15:32:57 +0000 (16:32 +0100)
commitee76bba7e547b386d641bff0b7408b598ec422a1
tree5ddb5115e11d7ce25a8ae62faba056a67b9f8e49
parentc55d240003ae253d3057dcf93510c9bd64bb7a09
scr24x_cs: include linux/io.h

The newly added scr24x_cs driver doesn't build in some configurations:

drivers/char/pcmcia/scr24x_cs.c: In function 'scr24x_wait_ready':
drivers/char/pcmcia/scr24x_cs.c:76:12: error: implicit declaration of function 'ioread8' [-Werror=implicit-function-declaration]

Adding in explicit include for the right header makes it work.

Fixes: f2ed287bcc90 ("char/pcmcia: add scr24x_cs chip card interface driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/pcmcia/scr24x_cs.c