Skip to contentSkip to conversation

net: hso driver uses rfkill functions

PATCH In review Randy Dunlap 2 participants 2 messages May 9, 2008 – May 12, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: hso driver uses rfkill functions

From: Randy Dunlap <[email protected]>

hso driver uses rfkill functions so should either depend on RFKILL or select it. This patch uses depends on RFKILL.

drivers/built-in.o: In function `hso_disconnect':
hso.c:(.text+0x868c9): undefined reference to rfkill_unregister' drivers/built-in.o: In function hso_probe':
hso.c:(.text+0x88226): undefined reference to rfkill_allocate' hso.c:(.text+0x8829e): undefined reference to rfkill_register' hso.c:(.text+0x8860f): undefined reference to `rfkill_free' make[1]: *** [.tmp_vmlinux1] Error 1

---
 drivers/net/usb/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/Kconfig +1 -1
@@ -156,7 +156,7 @@ config USB_NET_AX8817X
 
 config USB_HSO
 	tristate "Option USB High Speed Mobile Devices"
-	depends on USB
+	depends on USB && RFKILL
 	default n
 	help
 	  Choose this option if you have an Option HSDPA/HSUPA card.
#1 lore raw

AFAIK Greg has (or he is going to do it) patch for rfkill so no more depends or select RFKILL will be needed.

BR,
Paulius Zaleckas

Quoted 34 lines · Randy Dunlap

From: Randy Dunlap <[email protected]>

hso driver uses rfkill functions so should either depend on RFKILL or select it. This patch uses depends on RFKILL.

drivers/built-in.o: In function `hso_disconnect':
hso.c:(.text+0x868c9): undefined reference to rfkill_unregister' drivers/built-in.o: In function hso_probe':
hso.c:(.text+0x88226): undefined reference to rfkill_allocate' hso.c:(.text+0x8829e): undefined reference to rfkill_register' hso.c:(.text+0x8860f): undefined reference to `rfkill_free' make[1]: *** [.tmp_vmlinux1] Error 1

---
 drivers/net/usb/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/Kconfig +1 -2
@@ -156,7 +156,7 @@ config USB_NET_AX8817X
 
 config USB_HSO
 	tristate "Option USB High Speed Mobile Devices"
-	depends on USB
+	depends on USB && RFKILL
 	default n
 	help
 	  Choose this option if you have an Option HSDPA/HSUPA card.
--

To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html