From: Rabin Vincent Date: Sat, 23 Apr 2011 15:22:58 +0000 (+0530) Subject: mmc: block: init force_ro sysfs attribute X-Git-Tag: v3.0-rc1~148^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641c3187b9d53cfd4c23b0ce2ab18a13d5e775e5;p=pandora-kernel.git mmc: block: init force_ro sysfs attribute To avoid lockdep warnings: BUG: key dc90a520 not in .data! ------------[ cut here ]------------ WARNING: at /home/rabin/kernel/arm/kernel/lockdep.c:2701 sysfs_add_file_mode+0x4c/0xb0() Modules linked in: [] (unwind_backtrace+0x0/0xe4) from [] (warn_slowpath_common+0x4c/0x64) [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c) [] (warn_slowpath_null+0x18/0x1c) from [] (sysfs_add_file_mode+0x4c/0xb0) [] (sysfs_add_file_mode+0x4c/0xb0) from [] (mmc_add_disk+0x40/0x64) [] (mmc_add_disk+0x40/0x64) from [] (mmc_blk_probe+0x188/0x1fc) [] (mmc_blk_probe+0x188/0x1fc) from [] (mmc_bus_probe+0x14/0x18) ... Signed-off-by: Rabin Vincent Signed-off-by: Chris Ball --- Reading git-diff-tree failed