diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-17 15:11:11 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-29 11:35:09 +0400 |
commit | 61eae5bb06496a6633ba000a1d7546b494e00081 (patch) | |
tree | c206b27ba53090559631ffbee60efea6b8d83d4b | |
parent | dfea4aa2261d64effbcc1992a59301270478c49a (diff) | |
download | linux-61eae5bb06496a6633ba000a1d7546b494e00081.tar.xz |
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>
-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 @@ */ #include <linux/string.h> +#include <linux/ide.h> static struct ide_pio_info { const char *name; |