]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/firmware.h
firmware: fix the request_firmware() dummy
[linux-2.6-omap-h63xx.git] / include / linux / firmware.h
index 4d10c7328d2dabafcee9cf285bf263ba6988b3cd..6c7eff2ebada88cf3bb5e543a5bd36da0f7237cd 100644 (file)
@@ -13,7 +13,7 @@ struct firmware {
 
 struct device;
 
-#if defined(CONFIG_FW_LOADER) || defined(CONFIG_FW_LOADER_MODULE)
+#if defined(CONFIG_FW_LOADER) || (defined(CONFIG_FW_LOADER_MODULE) && defined(MODULE))
 int request_firmware(const struct firmware **fw, const char *name,
                     struct device *device);
 int request_firmware_nowait(