firmware: provide stubs for the FW_LOADER=n case
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 7 Mar 2008 14:57:54 +0000 (08:57 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 10 Mar 2008 23:33:33 +0000 (16:33 -0700)
commitfbab976d7ce4556d4212d554f766dae461d22e16
tree31328b2b8ced734069c577f6ad6a98ce561af270
parent661b4e89daf10e3f65a1086fd95c7a84720ccdd2
firmware: provide stubs for the FW_LOADER=n case

libsas has a case where it uses the firmware loader to provide services,
but doesn't want to select it all the time.  This currently causes a
compile failure in libsas if FW_LOADER=n.  Fix this by providing error
stubs for the firmware loader API in the FW_LOADER=n case.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/firmware.h