lkml.org 
[lkml]   [2014]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 09/26] drivers: isdn: Include appropriate header file in diva.c
    Include appropriate header file helpers.h in hardware/eicon/diva.c
    because it defines function declared in the header file.

    This eliminates the following warning in hardware/eicon/diva.c:
    drivers/isdn/hardware/eicon/diva.c:655:6: warning: no previous prototype for ‘xdiFreeFile’ [-Wmissing-prototypes]

    Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
    Reviewed-by: Josh Triplett <josh@joshtriplett.org>
    ---
    drivers/isdn/hardware/eicon/diva.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/isdn/hardware/eicon/diva.c b/drivers/isdn/hardware/eicon/diva.c
    index d91dd58..6f28797 100644
    --- a/drivers/isdn/hardware/eicon/diva.c
    +++ b/drivers/isdn/hardware/eicon/diva.c
    @@ -17,6 +17,7 @@
    #include "xdi_adapter.h"
    #include "diva_pci.h"
    #include "diva.h"
    +#include "helpers.h"

    #ifdef CONFIG_ISDN_DIVAS_PRIPCI
    #include "os_pri.h"
    --
    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: 2014-02-07 14:21    [W:3.255 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site