compat: add CONFIG_COMPAT_FIRMWARE_DATA_RW_NEEDS_FILP
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 17 Nov 2011 22:20:40 +0000 (17:20 -0500)
committerLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
Thu, 17 Nov 2011 23:20:57 +0000 (15:20 -0800)
commit76aa861bac39a0aa2ae7e53743d3ba78ba7e7049
tree3fbe97bff1c7c5a789d09c619de9814f307eb099
parent365a14b5d4f1a5119ba5e5aaef280eeebee4b9e4
compat: add CONFIG_COMPAT_FIRMWARE_DATA_RW_NEEDS_FILP

Some kernels have versions of (struct bin_attribute)->{read,write}
that require a struct file * as their first argument.  This change
accommodates them in the firmware loader class.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
compat/compat_firmware_class.c