diff options
author | Len Brown <len.brown@intel.com> | 2005-09-03 02:44:09 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-09-03 02:44:09 -0400 |
commit | 129521dcc94f781890f8f668219ab79f0073ff9f (patch) | |
tree | 9f70707c88da65577f38814fe37b24c4b4957d64 /net/irda | |
parent | 824b558bbe2c298b165cdb54c33718994dda30bb (diff) | |
parent | f505380ba7b98ec97bf25300c2a58aeae903530b (diff) |
Merge linux-2.6 into linux-acpi-2.6 test
Diffstat (limited to 'net/irda')
-rw-r--r-- | net/irda/af_irda.c | 2 | ||||
-rw-r--r-- | net/irda/irlap_frame.c | 8 | ||||
-rw-r--r-- | net/irda/irlmp.c | 3 | ||||
-rw-r--r-- | net/irda/irmod.c | 2 | ||||
-rw-r--r-- | net/irda/irnet/irnet.h | 3 | ||||
-rw-r--r-- | net/irda/irnet/irnet_ppp.c | 2 | ||||
-rw-r--r-- | net/irda/irqueue.c | 1 |
7 files changed, 4 insertions, 17 deletions
diff --git a/net/irda/af_irda.c b/net/irda/af_irda.c index 92c6e8d4e731..6f92f9c62990 100644 --- a/net/irda/af_irda.c +++ b/net/irda/af_irda.c | |||
@@ -56,7 +56,7 @@ | |||
56 | #include <asm/uaccess.h> | 56 | #include <asm/uaccess.h> |
57 | 57 | ||
58 | #include <net/sock.h> | 58 | #include <net/sock.h> |
59 | #include <net/tcp.h> | 59 | #include <net/tcp_states.h> |
60 | 60 | ||
61 | #include <net/irda/af_irda.h> | 61 | #include <net/irda/af_irda.h> |
62 | 62 | ||
diff --git a/net/irda/irlap_frame.c b/net/irda/irlap_frame.c index 6dafbb43b529..3e9a06abbdd0 100644 --- a/net/irda/irlap_frame.c +++ b/net/irda/irlap_frame.c | |||
@@ -988,9 +988,6 @@ void irlap_resend_rejected_frames(struct irlap_cb *self, int command) | |||
988 | IRDA_DEBUG(0, "%s(), unable to copy\n", __FUNCTION__); | 988 | IRDA_DEBUG(0, "%s(), unable to copy\n", __FUNCTION__); |
989 | return; | 989 | return; |
990 | } | 990 | } |
991 | /* Unlink tx_skb from list */ | ||
992 | tx_skb->next = tx_skb->prev = NULL; | ||
993 | tx_skb->list = NULL; | ||
994 | 991 | ||
995 | /* Clear old Nr field + poll bit */ | 992 | /* Clear old Nr field + poll bit */ |
996 | tx_skb->data[1] &= 0x0f; | 993 | tx_skb->data[1] &= 0x0f; |
@@ -1063,9 +1060,6 @@ void irlap_resend_rejected_frame(struct irlap_cb *self, int command) | |||
1063 | IRDA_DEBUG(0, "%s(), unable to copy\n", __FUNCTION__); | 1060 | IRDA_DEBUG(0, "%s(), unable to copy\n", __FUNCTION__); |
1064 | return; | 1061 | return; |
1065 | } | 1062 | } |
1066 | /* Unlink tx_skb from list */ | ||
1067 | tx_skb->next = tx_skb->prev = NULL; | ||
1068 | tx_skb->list = NULL; | ||
1069 | 1063 | ||
1070 | /* Clear old Nr field + poll bit */ | 1064 | /* Clear old Nr field + poll bit */ |
1071 | tx_skb->data[1] &= 0x0f; | 1065 | tx_skb->data[1] &= 0x0f; |
@@ -1309,7 +1303,7 @@ static void irlap_recv_test_frame(struct irlap_cb *self, struct sk_buff *skb, | |||
1309 | * Jean II | 1303 | * Jean II |
1310 | */ | 1304 | */ |
1311 | int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, | 1305 | int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, |
1312 | struct packet_type *ptype) | 1306 | struct packet_type *ptype, struct net_device *orig_dev) |
1313 | { | 1307 | { |
1314 | struct irlap_info info; | 1308 | struct irlap_info info; |
1315 | struct irlap_cb *self; | 1309 | struct irlap_cb *self; |
diff --git a/net/irda/irlmp.c b/net/irda/irlmp.c index 7a4a4d7fbe66..c19e9ce05a3a 100644 --- a/net/irda/irlmp.c +++ b/net/irda/irlmp.c | |||
@@ -53,7 +53,6 @@ struct irlmp_cb *irlmp = NULL; | |||
53 | /* These can be altered by the sysctl interface */ | 53 | /* These can be altered by the sysctl interface */ |
54 | int sysctl_discovery = 0; | 54 | int sysctl_discovery = 0; |
55 | int sysctl_discovery_timeout = 3; /* 3 seconds by default */ | 55 | int sysctl_discovery_timeout = 3; /* 3 seconds by default */ |
56 | EXPORT_SYMBOL(sysctl_discovery_timeout); | ||
57 | int sysctl_discovery_slots = 6; /* 6 slots by default */ | 56 | int sysctl_discovery_slots = 6; /* 6 slots by default */ |
58 | int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ; | 57 | int sysctl_lap_keepalive_time = LM_IDLE_TIMEOUT * 1000 / HZ; |
59 | char sysctl_devname[65]; | 58 | char sysctl_devname[65]; |
@@ -67,7 +66,6 @@ const char *irlmp_reasons[] = { | |||
67 | "LM_INIT_DISCONNECT", | 66 | "LM_INIT_DISCONNECT", |
68 | "ERROR, NOT USED", | 67 | "ERROR, NOT USED", |
69 | }; | 68 | }; |
70 | EXPORT_SYMBOL(irlmp_reasons); | ||
71 | 69 | ||
72 | /* | 70 | /* |
73 | * Function irlmp_init (void) | 71 | * Function irlmp_init (void) |
@@ -675,7 +673,6 @@ struct lsap_cb *irlmp_dup(struct lsap_cb *orig, void *instance) | |||
675 | 673 | ||
676 | return new; | 674 | return new; |
677 | } | 675 | } |
678 | EXPORT_SYMBOL(irlmp_dup); | ||
679 | 676 | ||
680 | /* | 677 | /* |
681 | * Function irlmp_disconnect_request (handle, userdata) | 678 | * Function irlmp_disconnect_request (handle, userdata) |
diff --git a/net/irda/irmod.c b/net/irda/irmod.c index 6ffaed4544e9..634901dd156f 100644 --- a/net/irda/irmod.c +++ b/net/irda/irmod.c | |||
@@ -54,7 +54,7 @@ extern int irsock_init(void); | |||
54 | extern void irsock_cleanup(void); | 54 | extern void irsock_cleanup(void); |
55 | /* irlap_frame.c */ | 55 | /* irlap_frame.c */ |
56 | extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, | 56 | extern int irlap_driver_rcv(struct sk_buff *, struct net_device *, |
57 | struct packet_type *); | 57 | struct packet_type *, struct net_device *); |
58 | 58 | ||
59 | /* | 59 | /* |
60 | * Module parameters | 60 | * Module parameters |
diff --git a/net/irda/irnet/irnet.h b/net/irda/irnet/irnet.h index 9004f7349a76..b391cb3893d4 100644 --- a/net/irda/irnet/irnet.h +++ b/net/irda/irnet/irnet.h | |||
@@ -517,9 +517,6 @@ extern int | |||
517 | irda_irnet_init(void); /* Initialise IrDA part of IrNET */ | 517 | irda_irnet_init(void); /* Initialise IrDA part of IrNET */ |
518 | extern void | 518 | extern void |
519 | irda_irnet_cleanup(void); /* Teardown IrDA part of IrNET */ | 519 | irda_irnet_cleanup(void); /* Teardown IrDA part of IrNET */ |
520 | /* ---------------------------- MODULE ---------------------------- */ | ||
521 | extern int | ||
522 | irnet_init(void); /* Initialise IrNET module */ | ||
523 | 520 | ||
524 | /**************************** VARIABLES ****************************/ | 521 | /**************************** VARIABLES ****************************/ |
525 | 522 | ||
diff --git a/net/irda/irnet/irnet_ppp.c b/net/irda/irnet/irnet_ppp.c index f8f984bb9922..e53bf9e0053e 100644 --- a/net/irda/irnet/irnet_ppp.c +++ b/net/irda/irnet/irnet_ppp.c | |||
@@ -1107,7 +1107,7 @@ ppp_irnet_cleanup(void) | |||
1107 | /* | 1107 | /* |
1108 | * Module main entry point | 1108 | * Module main entry point |
1109 | */ | 1109 | */ |
1110 | int __init | 1110 | static int __init |
1111 | irnet_init(void) | 1111 | irnet_init(void) |
1112 | { | 1112 | { |
1113 | int err; | 1113 | int err; |
diff --git a/net/irda/irqueue.c b/net/irda/irqueue.c index b0dd3ea35999..1ba8c7106639 100644 --- a/net/irda/irqueue.c +++ b/net/irda/irqueue.c | |||
@@ -822,7 +822,6 @@ void* hashbin_find_next( hashbin_t* hashbin, long hashv, const char* name, | |||
822 | 822 | ||
823 | return entry; | 823 | return entry; |
824 | } | 824 | } |
825 | EXPORT_SYMBOL(hashbin_find_next); | ||
826 | 825 | ||
827 | /* | 826 | /* |
828 | * Function hashbin_get_first (hashbin) | 827 | * Function hashbin_get_first (hashbin) |