summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorRashika Kheria <rashika.kheria@gmail.com>2013-12-17 16:41:11 +0530
committerDavid S. Miller <davem@davemloft.net>2014-01-28 23:35:09 -0800
commit61eae5bb06496a6633ba000a1d7546b494e00081 (patch)
treec206b27ba53090559631ffbee60efea6b8d83d4b /drivers/ide
parentdfea4aa2261d64effbcc1992a59301270478c49a (diff)
downloadlwn-61eae5bb06496a6633ba000a1d7546b494e00081.tar.gz
lwn-61eae5bb06496a6633ba000a1d7546b494e00081.zip
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.c1
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;