• W
    mtd: gpmi: add missing include 'module.h' · df16c86a
    Wolfram Sang 提交于
    Fixes:
    
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c: In function 'gpmi_nfc_init':
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c:1475:16: error: 'THIS_MODULE' undeclared (first use in this function)
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c:1475:16: note: each undeclared identifier is reported only once for each function it appears in
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c: At top level:
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c:1617:15: error: expected declaration specifiers or '...' before string constant
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c:1617:1: warning: data definition has no type or storage class
    drivers/mtd/nand/gpmi-nand/gpmi-nand.c:1617:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    
    and some more...
    Signed-off-by: NWolfram Sang <w.sang@pengutronix.de>
    Acked-by: NHuang Shijie <b32955@freescale.com>
    Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@intel.com>
    Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
    df16c86a
gpmi-nand.c 44.5 KB