]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
tty: n_gsm: depends on NET
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 3 May 2010 16:08:38 +0000 (09:08 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 21 May 2010 16:34:29 +0000 (09:34 -0700)
n_gsm uses skb functions, so it should depend on NET.

n_gsm.c:(.text+0x123d49): undefined reference to `skb_dequeue'
n_gsm.c:(.text+0x123d98): undefined reference to `kfree_skb'
n_gsm.c:(.text+0x123e1e): undefined reference to `skb_pull'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/Kconfig

index 51a57009aec871929f5b0a047803df1cca80a220..e21175be25d0b1c88f2b0fe3ec717f014e17b7f6 100644 (file)
@@ -284,6 +284,7 @@ config N_HDLC
 config N_GSM
        tristate "GSM MUX line discipline support (EXPERIMENTAL)"
        depends on EXPERIMENTAL
+       depends on NET
        help
          This line discipline provides support for the GSM MUX protocol and
          presents the mux as a set of 61 individual tty devices.