1. 10 7月, 2012 1 次提交
    • A
      of: mtd: nuke useless const qualifier · e95d8aaf
      Artem Bityutskiy 提交于
      This patch does the following:
       -const int of_get_nand_ecc_mode(struct device_node *np)
       +int of_get_nand_ecc_mode(struct device_node *np)
      
      because:
      1. it is probably just a typo?
      2. it causes warnings like this when people assing the returned
         value to an 'int' variable:
         include/linux/of_mtd.h:14:18: warning: type qualifiers ignored on functi=
      on return type [-Wignored-qualifiers]
      
      Remove also the unnecessary "extern" qualifier to be consistent with other
      declarations in this file.
      Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      e95d8aaf
  2. 15 3月, 2012 1 次提交