Skip to contentSkip to conversation

net: hso driver uses rfkill functions

PATCH In review [email protected] 2 participants 2 messages May 14, 2008

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

PATCH 2/8 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

Quoted 2 lines · On Mon, 12 May 2008 11:29:20 +0300 Paulius Zaleckas…

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

Cc Paulius Zaleckas <[email protected]>
Cc Greg KH <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc "David S. Miller" <[email protected]>

---

 drivers/net/usb/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/usb/Kconfig renamed from drivers/net/usb/Kconfig~net-hso-driver-uses-rfkill-functions +1 -1
diff -puN drivers/net/usb/Kconfig~net-hso-driver-uses-rfkill-functions drivers/net/usb/Kconfig
@@ -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
Quoted 13 lines · On Wed, May 14, 2008 at 04:19:41PM -0700, [email protected] wrote:

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

Quoted 5 lines
Quoted 2 lines · On Mon, 12 May 2008 11:29:20 +0300 Paulius Zaleckas…

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

This is already merged into my tree, in the version that I sent to Jeff.

So you can safely drop it.

thanks,

greg k-h