]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
drivers: ide: Include appropriate header file in ide-pio-blacklist.c
authorRashika Kheria <rashika.kheria@gmail.com>
Tue, 17 Dec 2013 11:11:11 +0000 (16:41 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jan 2014 07:35:09 +0000 (23:35 -0800)
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>
drivers/ide/ide-pio-blacklist.c

index a8c2c8f8660a6a312c7d6767f9a0fee14abf79e1..40e683a84ff91b61ebd7487cd6e074528c7d3c67 100644 (file)
@@ -7,6 +7,7 @@
  */
 
 #include <linux/string.h>
+#include <linux/ide.h>
 
 static struct ide_pio_info {
        const char      *name;