diff options
author | Rabin Vincent <rabin@rab.in> | 2011-04-23 17:22:58 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-05-25 03:02:49 +0200 |
commit | 641c3187b9d53cfd4c23b0ce2ab18a13d5e775e5 (patch) | |
tree | 9bea85b68521e8d7b1efe4a01b9c19b722860b1b /Documentation/ioctl | |
parent | mmc: sdhci: Fix read-only detection with JMicron 388 chip (diff) | |
download | linux-641c3187b9d53cfd4c23b0ce2ab18a13d5e775e5.tar.xz linux-641c3187b9d53cfd4c23b0ce2ab18a13d5e775e5.zip |
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:
[<c004b5d8>] (unwind_backtrace+0x0/0xe4) from [<c0074f20>] (warn_slowpath_common+0x4c/0x64)
[<c0074f20>] (warn_slowpath_common+0x4c/0x64) from [<c0074f50>] (warn_slowpath_null+0x18/0x1c)
[<c0074f50>] (warn_slowpath_null+0x18/0x1c) from [<c0157fec>] (sysfs_add_file_mode+0x4c/0xb0)
[<c0157fec>] (sysfs_add_file_mode+0x4c/0xb0) from [<c02d61e4>] (mmc_add_disk+0x40/0x64)
[<c02d61e4>] (mmc_add_disk+0x40/0x64) from [<c02d64cc>] (mmc_blk_probe+0x188/0x1fc)
[<c02d64cc>] (mmc_blk_probe+0x188/0x1fc) from [<c02ce820>] (mmc_bus_probe+0x14/0x18)
...
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation/ioctl')
0 files changed, 0 insertions, 0 deletions