diff options
| author | Javier Martinez Canillas <[email protected]> | 2015-02-27 05:37:48 +0000 |
|---|---|---|
| committer | Olof Johansson <[email protected]> | 2015-03-04 19:28:28 +0000 |
| commit | 18d0dc24661b42c03074fc89bc89bc0f7c63d2bc (patch) | |
| tree | b521fa7ef937f6a1b01ef1db1856f677d35e70c7 /net/unix/af_unix.c | |
| parent | platform/chrome: fix platform_no_drv_owner.cocci warnings (diff) | |
| download | kernel-18d0dc24661b42c03074fc89bc89bc0f7c63d2bc.tar.gz kernel-18d0dc24661b42c03074fc89bc89bc0f7c63d2bc.zip | |
platform/chrome: cros_ec_lpc - Include linux/io.h header file
The driver uses the inb() and outb() I/O functions so should
include the header file that has these functions definitions.
This patch fixes the following error when the header is not
explicitly included:
drivers/platform/chrome//cros_ec_lpc.c: In function ‘ec_response_timed_out’:
drivers/platform/chrome//cros_ec_lpc.c:40:3: error: implicit declaration of function ‘inb’ [-Werror=implicit-function-declaration]
drivers/platform/chrome//cros_ec_lpc.c: In function ‘cros_ec_cmd_xfer_lpc’:
drivers/platform/chrome//cros_ec_lpc.c:75:3: error: implicit declaration of function ‘outb’ [-Werror=implicit-function-declaration]
Signed-off-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
