wifipineapple-openwrt/target/linux/generic
Florian Fainelli e15963161a [kernel] fix mtd warnings
Fixes for the following warnings:

drivers/mtd/devices/block2mtd.c: In function '_open_bdev':
drivers/mtd/devices/block2mtd.c:272:3: warning: ISO C90 forbids mixed declarations and code
drivers/mtd/devices/block2mtd.c: In function 'add_device':
drivers/mtd/devices/block2mtd.c:399:13: warning: assignment discards qualifiers from pointer target type

In the case of 442-block2mtd_probe.patch, it's not until the insertion of a executable statement before the definition that causes a warning, so I've chosen to resolve the issue here by splitting the definition and the initialization into a definition and a statement (and assignment) instead.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-25 19:16:58 +00:00
..
base-files rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
files [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC 2011-05-09 15:21:58 +00:00
image rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
patches-2.6.30 kernel: backport some ssb changes to support a mac80211 update 2011-05-16 21:50:20 +00:00
patches-2.6.31 kernel: backport some ssb changes to support a mac80211 update 2011-05-16 21:50:20 +00:00
patches-2.6.32 [kernel] fix mtd warnings 2011-05-25 19:16:58 +00:00
patches-2.6.36 [kernel] fix mtd warnings 2011-05-25 19:16:58 +00:00
patches-2.6.37 [kernel] fix mtd warnings 2011-05-25 19:16:58 +00:00
patches-2.6.38 [kernel] fix mtd warnings 2011-05-25 19:16:58 +00:00
patches-2.6.39 [PATCH v3] (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC 2011-05-09 15:21:58 +00:00
PATCHES fix a typo in the kernel patch description 2011-04-16 18:40:23 +00:00
config-2.6.30 kernel: add symbols, small fixes 2011-04-09 23:34:20 +00:00
config-2.6.31 kernel: add symbols, small fixes 2011-04-09 23:34:20 +00:00
config-2.6.32 kernel: add symbols, small fixes 2011-04-09 23:34:20 +00:00
config-2.6.36 kernel: add symbols, small fixes 2011-04-09 23:34:20 +00:00
config-2.6.37 kernel: add symbols, small fixes 2011-04-09 23:34:20 +00:00
config-2.6.38 kernel: update kernel from 2.6.38.2 to 2.6.38.6 and refresh patches 2011-05-15 17:23:02 +00:00
config-2.6.39 generic: Add support for 2.6.39 2011-04-12 19:39:20 +00:00