lkml.org 
[lkml]   [2013]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 2/2] 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>
    ---
    drivers/ide/ide-pio-blacklist.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/ide/ide-pio-blacklist.c b/drivers/ide/ide-pio-blacklist.c
    index a8c2c8f8..40e683a 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;
    --
    1.7.9.5
    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2013-12-17 12:41    [W:2.853 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site