diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-02-20 16:58:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-20 20:10:16 -0500 |
commit | d5c1682f9f8f4aa064f81fda67ea7b91fd829512 (patch) | |
tree | 9da6d1f3bb3d2a6f451b784959fe065d68e27ff1 /drivers | |
parent | da68d61f89e275260cc993a0d4a39e63700098fb (diff) |
[PATCH] drivers/isdn/gigaset/: build asyncdata.o into the gigaset module
LD drivers/isdn/gigaset/built-in.o
drivers/isdn/gigaset/ser_gigaset.o: In function `gigaset_m10x_send_skb':
(.text+0xe50): multiple definition of `gigaset_m10x_send_skb'
drivers/isdn/gigaset/usb_gigaset.o:(.text+0x0): first defined here
drivers/isdn/gigaset/ser_gigaset.o: In function `gigaset_m10x_input':
(.text+0x1121): multiple definition of `gigaset_m10x_input'
drivers/isdn/gigaset/usb_gigaset.o:(.text+0x2d1): first defined here
make[4]: *** [drivers/isdn/gigaset/built-in.o] Error 1
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isdn/gigaset/Makefile | 6 | ||||
-rw-r--r-- | drivers/isdn/gigaset/asyncdata.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/drivers/isdn/gigaset/Makefile b/drivers/isdn/gigaset/Makefile index 077e297d8c72..5158be0b7ab4 100644 --- a/drivers/isdn/gigaset/Makefile +++ b/drivers/isdn/gigaset/Makefile | |||
@@ -1,7 +1,7 @@ | |||
1 | gigaset-y := common.o interface.o proc.o ev-layer.o i4l.o | 1 | gigaset-y := common.o interface.o proc.o ev-layer.o i4l.o asyncdata.o |
2 | usb_gigaset-y := usb-gigaset.o asyncdata.o | 2 | usb_gigaset-y := usb-gigaset.o |
3 | bas_gigaset-y := bas-gigaset.o isocdata.o | 3 | bas_gigaset-y := bas-gigaset.o isocdata.o |
4 | ser_gigaset-y := ser-gigaset.o asyncdata.o | 4 | ser_gigaset-y := ser-gigaset.o |
5 | 5 | ||
6 | obj-$(CONFIG_GIGASET_M105) += usb_gigaset.o gigaset.o | 6 | obj-$(CONFIG_GIGASET_M105) += usb_gigaset.o gigaset.o |
7 | obj-$(CONFIG_GIGASET_BASE) += bas_gigaset.o gigaset.o | 7 | obj-$(CONFIG_GIGASET_BASE) += bas_gigaset.o gigaset.o |
diff --git a/drivers/isdn/gigaset/asyncdata.c b/drivers/isdn/gigaset/asyncdata.c index ddf5e92be444..f2f108fcec4d 100644 --- a/drivers/isdn/gigaset/asyncdata.c +++ b/drivers/isdn/gigaset/asyncdata.c | |||
@@ -444,6 +444,7 @@ nextbyte: | |||
444 | atomic_set(&inbuf->head, head); | 444 | atomic_set(&inbuf->head, head); |
445 | } | 445 | } |
446 | } | 446 | } |
447 | EXPORT_SYMBOL_GPL(gigaset_m10x_input); | ||
447 | 448 | ||
448 | 449 | ||
449 | /* == data output ========================================================== */ | 450 | /* == data output ========================================================== */ |
@@ -591,3 +592,4 @@ int gigaset_m10x_send_skb(struct bc_state *bcs, struct sk_buff *skb) | |||
591 | 592 | ||
592 | return len; /* ok so far */ | 593 | return len; /* ok so far */ |
593 | } | 594 | } |
595 | EXPORT_SYMBOL_GPL(gigaset_m10x_send_skb); | ||