]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Bluetooth: Fix compilation of Marvell driver without debugfs
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Jun 2009 13:44:03 +0000 (15:44 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Aug 2009 21:25:33 +0000 (14:25 -0700)
The Makefile entry for the Marvell driver is broken when it comes to
handling the optional DEBUG_FS correctly. That must have been the reason
why they were using select in Kconfig in the first place. Fix this and
make it really optional.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/Makefile

index 75f70e0e3e5345eeae15bf41f652c4d86f5ca7bf..b3f57d2d4eb0e46298ec991010db526237ecf110 100644 (file)
@@ -15,10 +15,12 @@ obj-$(CONFIG_BT_HCIBTUART)  += btuart_cs.o
 obj-$(CONFIG_BT_HCIBTUSB)      += btusb.o
 obj-$(CONFIG_BT_HCIBTSDIO)     += btsdio.o
 
-btmrvl-objs                    := btmrvl_main.o btmrvl_debugfs.o
 obj-$(CONFIG_BT_MRVL)          += btmrvl.o
 obj-$(CONFIG_BT_MRVL_SDIO)     += btmrvl_sdio.o
 
+btmrvl-y                       := btmrvl_main.o
+btmrvl-$(CONFIG_DEBUG_FS)      += btmrvl_debugfs.o
+
 hci_uart-y                             := hci_ldisc.o
 hci_uart-$(CONFIG_BT_HCIUART_H4)       += hci_h4.o
 hci_uart-$(CONFIG_BT_HCIUART_BCSP)     += hci_bcsp.o