1. 10 1月, 2012 24 次提交
  2. 19 12月, 2011 1 次提交
  3. 07 12月, 2011 1 次提交
  4. 05 12月, 2011 1 次提交
    • 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
  5. 03 12月, 2011 1 次提交
  6. 08 11月, 2011 1 次提交
    • J
      MTD: MAPS: bcm963xx-flash.c: explicitly include module.h · 4e549d6d
      Jonas Gorski 提交于
      module.h was previously implicitly included through mtd/mtd.h.
      
      Fixes the following build failure after the module.h cleanup:
      
        CC      drivers/mtd/maps/bcm963xx-flash.o
      drivers/mtd/maps/bcm963xx-flash.c: In function 'bcm963xx_probe':
      drivers/mtd/maps/bcm963xx-flash.c:208:29: error: 'THIS_MODULE' undeclared (first use in this function)
       [...]
      drivers/mtd/maps/bcm963xx-flash.c:276:1: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
      drivers/mtd/maps/bcm963xx-flash.c:276:15: warning: function declaration isn't a prototype
      make[7]: *** [drivers/mtd/maps/bcm963xx-flash.o] Error 1
      Signed-off-by: NJonas Gorski <jonas.gorski@gmail.com>
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      4e549d6d
  7. 02 11月, 2011 1 次提交
  8. 01 11月, 2011 2 次提交
  9. 31 10月, 2011 1 次提交
  10. 30 10月, 2011 2 次提交
  11. 25 10月, 2011 2 次提交
  12. 20 10月, 2011 1 次提交
  13. 16 10月, 2011 2 次提交
    • B
      mtd: nand: initialize ops.mode · 23b1a99b
      Brian Norris 提交于
      Our `ops' information was converted to a local variable recently, and
      apparently, old code relied on the fact that the global version was
      often left in a valid mode. We can't make this assumption on local
      structs, and we shouldn't be relying on a previous state anyway.
      
      Instead, we initialize mode to 0 for don't-care situations (i.e., the
      operation does not use OOB anyway) and MTD_OPS_PLACE_OOB when we want to
      place OOB data.
      
      This fixes a bug with nand_default_block_markbad(), where we catch on
      the BUG() call in nand_fill_oob():
      
      Kernel bug detected[#1]:
      ...
      Call Trace:
      [<80307350>] nand_fill_oob.clone.5+0xa4/0x15c
      [<803075d8>] nand_do_write_oob+0x1d0/0x260
      [<803077c4>] nand_default_block_markbad+0x15c/0x1a8
      [<802e8c2c>] part_block_markbad+0x80/0x98
      [<802ebc74>] mtd_ioctl+0x6d8/0xbd0
      [<802ec1a4>] mtd_unlocked_ioctl+0x38/0x5c
      [<800d9c60>] do_vfs_ioctl+0xa4/0x6e4
      [<800da2e4>] sys_ioctl+0x44/0xa0
      [<8001381c>] stack_done+0x20/0x40
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      23b1a99b
    • A
      mtd: provide an alias for the redboot module name · d5de1907
      Andres Salomon 提交于
      parse_mtd_partitions takes a list of partition types; if the driver
      isn't loaded, it attempts to load it, and then it grabs the partition
      parser.  For redboot, the module name is "redboot.ko", while the parser
      name is "RedBoot".  Since modprobe is case-sensitive, attempting to
      modprobe "RedBoot" will never work.  I suspect the embedded systems that
      make use of redboot just always manually loaded redboot prior to loading
      their specific nand chip drivers (or statically compiled it in).
      Signed-off-by: NAndres Salomon <dilinger@queued.net>
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Cc: stable@kernel.org
      d5de1907