]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Bug fix: Fix section mismatch problem of release_firmware_map_entry().
authorTang Chen <tangchen@cn.fujitsu.com>
Wed, 20 Feb 2013 02:14:12 +0000 (13:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:28 +0000 (16:52 +1100)
commitc9ff89f89d7eee66ddf91bc031dc392fa3c01563
treedc3b71333e408e06d86d355d7cd665263e7216e6
parent74d7702adaabcb38a75eb90e8f889ef12eecf5ae
Bug fix: Fix section mismatch problem of release_firmware_map_entry().

The function release_firmware_map_entry() references the function
__meminit firmware_map_find_entry_in_list(). So it should also have
__meminit.

And since the firmware_map_entry->kobj is initialized with memmap_ktype,
the memmap_ktype should also be prefixed by __refdata.

Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Jiang Liu <jiang.liu@huawei.com>
Cc: Jianguo Wu <wujianguo@huawei.com>
Cc: Kamezawa Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/firmware/memmap.c