mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
c09007c1af
Function register_mtd_parser always returned 0 (at least since v3.3) before being changed to return void in v3.14-rc1~65^2~93 (mtd: make register_mtd_parser return void), so it's not needed to check the return value of this function. Also add __init flag to caller. This fix compile errors in 3.14 kernel like: drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init': drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be return register_mtd_parser(&mtdsplit_seama_parser); ^ Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> SVN-Revision: 40731 |
||
---|---|---|
.. | ||
base-files | ||
files | ||
image | ||
patches-3.3 | ||
patches-3.6 | ||
patches-3.8 | ||
patches-3.9 | ||
patches-3.10 | ||
patches-3.12 | ||
patches-3.13 | ||
patches-3.14 | ||
config-3.3 | ||
config-3.6 | ||
config-3.8 | ||
config-3.9 | ||
config-3.10 | ||
config-3.12 | ||
config-3.13 | ||
config-3.14 | ||
PATCHES |