diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-17 06:11:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-29 02:35:09 -0500 |
commit | 61eae5bb06496a6633ba000a1d7546b494e00081 (patch) | |
tree | c206b27ba53090559631ffbee60efea6b8d83d4b /drivers/ide | |
parent | dfea4aa2261d64effbcc1992a59301270478c49a (diff) |
drivers: ide: Include appropriate header file in ide-pio-blacklist.c
Include appropriate header file include/linux/ide.h in file
ide-pio-blacklist.c because function ide_scan_pio_blacklist() has it's
prototype declaration in include/linux/ide.h.
This eliminates the following warning in ide-pio-blacklist.c:
drivers/ide/ide-pio-blacklist.c:85:5: warning: no previous prototype for ‘ide_scan_pio_blacklist’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-pio-blacklist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-pio-blacklist.c b/drivers/ide/ide-pio-blacklist.c index a8c2c8f8660a..40e683a84ff9 100644 --- a/drivers/ide/ide-pio-blacklist.c +++ b/drivers/ide/ide-pio-blacklist.c | |||
@@ -7,6 +7,7 @@ | |||
7 | */ | 7 | */ |
8 | 8 | ||
9 | #include <linux/string.h> | 9 | #include <linux/string.h> |
10 | #include <linux/ide.h> | ||
10 | 11 | ||
11 | static struct ide_pio_info { | 12 | static struct ide_pio_info { |
12 | const char *name; | 13 | const char *name; |