]> 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>
Thu, 7 Feb 2013 01:26:23 +0000 (12:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:46:23 +0000 (16:46 +1100)
commit99668027e3fa297bc871e2b7786bc86eab565988
tree85508ba4bfba4bdfb616a9138af30a758b074508
parent77e6ec77848dc635ad5d9545493ed8e3aa05d6c7
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