1. 10 1月, 2012 13 次提交
  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 4 次提交
  14. 14 10月, 2011 3 次提交
  15. 01 10月, 2011 1 次提交
  16. 28 9月, 2011 1 次提交
    • P
      doc: fix broken references · 395cf969
      Paul Bolle 提交于
      There are numerous broken references to Documentation files (in other
      Documentation files, in comments, etc.). These broken references are
      caused by typo's in the references, and by renames or removals of the
      Documentation files. Some broken references are simply odd.
      
      Fix these broken references, sometimes by dropping the irrelevant text
      they were part of.
      Signed-off-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      395cf969
  17. 26 9月, 2011 1 次提交
  18. 23 9月, 2011 1 次提交
  19. 21 9月, 2011 2 次提交
    • B
      mtd: nand: switch `check_pattern()' to standard `memcmp()' · 75b66d8c
      Brian Norris 提交于
      A portion of the `check_pattern()' function is basically a `memcmp()'.
      Since it's possible for `memcmp()' to be optimized for a particular
      architecture, we should use it instead.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@intel.com>
      75b66d8c
    • B
      mtd: nand: invalidate cache on unaligned reads · 6d77b9d0
      Brian Norris 提交于
      In rare cases, we are given an unaligned parameter `from' in
      `nand_do_read_ops()'. In such cases, we use the page cache
      (chip->buffers->databuf) as an intermediate buffer before dumping to the
      client buffer. However, there are also cases where this buffer is not
      cleanly reusable. In those cases, we need to make sure that we
      explicitly invalidate the cache.
      
      This patch prevents accidental reusage of the page cache, and for me,
      this solves some problems I come across when reading a corrupted BBT
      from flash (NAND_BBT_USE_FLASH and NAND_BBT_NO_OOB).
      
      Note: the rare "unaligned" case is a result of the extra BBT pattern +
      version located in the data area instead of OOB.
      
      Also, this patch disables caching on raw reads, since we are reading
      without error correction. This is, obviously, prone to errors and should
      not be cached.
      Signed-off-by: NBrian Norris <computersforpeace@gmail.com>
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@intel.com>
      6d77b9d0