Backport the new firmware_class from > 2.6.33 down to 2.6.23
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 14 Jan 2010 01:09:24 +0000 (17:09 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 14 Jan 2010 01:11:12 +0000 (17:11 -0800)
commit8355d9993b4dc87089b7e947a9c1011d2f945378
treef3e6ebc524ac93b47cb6ff3edb5d971b89506de2
parent4644b4c664038ef9384b05d92e3d31f42d5c221f
Backport the new firmware_class from > 2.6.33 down to 2.6.23

My main concern with this backport was the usage of the
core driver "base.h" but as it turns out firmware_class doesn't
even need it. This allowed the backport to go through.

This new backport allows drivers which use the new modified firmware
API request_firmware_nowait() on older kernels. You should not
need to chagne the your request_firmware_nowait() calls at all;
the compat-2.6.32.h header ensures that your calls get mapped
to compat_request_firmware_nowait()

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
compat/Makefile
compat/compat_firmware_class.c [new file with mode: 0644]
include/linux/compat-2.6.27.h
include/linux/compat-2.6.32.h