aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-diag
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2011-05-25 19:16:58 +0000
committerFlorian Fainelli <florian@openwrt.org>2011-05-25 19:16:58 +0000
commite15963161a09fbe7379bbeb4d43648550b4c5d9a (patch)
treebed0eb904abb3bd6e0ca2786d34a530d1ab8a439 /package/broadcom-diag
parent7cd58d14ebfd42abbb00086432650c49a0f2aac1 (diff)
downloadmaster-187ad058-e15963161a09fbe7379bbeb4d43648550b4c5d9a.tar.gz
master-187ad058-e15963161a09fbe7379bbeb4d43648550b4c5d9a.tar.bz2
master-187ad058-e15963161a09fbe7379bbeb4d43648550b4c5d9a.zip
[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
Diffstat (limited to 'package/broadcom-diag')
0 files changed, 0 insertions, 0 deletions