diff mbox

[2/2] compat: fix compile errors with CONFIG_FW_LOADER unset

Message ID 20100119193545.GA8069@bombadil.infradead.org (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Luis Chamberlain Jan. 19, 2010, 7:35 p.m. UTC
None
diff mbox

Patch

diff --git a/Makefile b/Makefile
index 4843869..ad8a602 100644
--- a/Makefile
+++ b/Makefile
@@ -19,8 +19,13 @@  $(foreach ver,$(COMPAT_VERSIONS),$(eval export CONFIG_COMPAT_KERNEL_$(ver)=y))
 endif
 
 ifeq ($(CONFIG_COMPAT_KERNEL_33),y)
+ifeq ($(CONFIG_FW_LOADER),y)
  export CONFIG_COMPAT_FIRMWARE_CLASS=m
 endif
+ifeq ($(CONFIG_FW_LOADER_MODULE),y)
+ export CONFIG_COMPAT_FIRMWARE_CLASS=m
+endif
+endif
 
 obj-y += compat/