diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2012-01-22 23:24:15 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-24 19:21:01 -0500 |
commit | ecd9d34a674b671f09f55b3365d852f75a1f598b (patch) | |
tree | f8f49603c6af0f87fec002192199068739bebbe3 | |
parent | dcd6c92267155e70a94b3927bce681ce74b80d1f (diff) |
c2port: fix build error for duramar2150 due to missing header.
This file needs the basic headers for resource management,
otherwise we will see this build error:
CC [M] drivers/misc/c2port/c2port-duramar2150.o
drivers/misc/c2port/c2port-duramar2150.c: In function ‘duramar2150_c2port_init’:
drivers/misc/c2port/c2port-duramar2150.c:125:2: error: implicit declaration of function ‘request_region’ [-Werror=implicit-function-declaration]
drivers/misc/c2port/c2port-duramar2150.c:139:2: error: implicit declaration of function ‘release_region’ [-Werror=implicit-function-declaration]
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/misc/c2port/c2port-duramar2150.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/c2port/c2port-duramar2150.c b/drivers/misc/c2port/c2port-duramar2150.c index 778fc3fdfb9b..5484301d57d9 100644 --- a/drivers/misc/c2port/c2port-duramar2150.c +++ b/drivers/misc/c2port/c2port-duramar2150.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/delay.h> | 16 | #include <linux/delay.h> |
17 | #include <linux/io.h> | 17 | #include <linux/io.h> |
18 | #include <linux/ioport.h> | ||
18 | #include <linux/c2port.h> | 19 | #include <linux/c2port.h> |
19 | 20 | ||
20 | #define DATA_PORT 0x325 | 21 | #define DATA_PORT 0x325 |