git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tree-wide: fix assorted typos all over the place
[safe/jmp/linux-2.6]
/
net
/
irda
/
irmod.c
diff --git
a/net/irda/irmod.c
b/net/irda/irmod.c
index
01554b9
..
303a68d
100644
(file)
--- a/
net/irda/irmod.c
+++ b/
net/irda/irmod.c
@@
-55,8
+55,8
@@
EXPORT_SYMBOL(irda_debug);
/* Packet type handler.
* Tell the kernel how IrDA packets should be handled.
*/
/* Packet type handler.
* Tell the kernel how IrDA packets should be handled.
*/
-static struct packet_type irda_packet_type = {
- .type =
__constant_htons
(ETH_P_IRDA),
+static struct packet_type irda_packet_type
__read_mostly
= {
+ .type =
cpu_to_be16
(ETH_P_IRDA),
.func = irlap_driver_rcv, /* Packet type handler irlap_frame.c */
};
.func = irlap_driver_rcv, /* Packet type handler irlap_frame.c */
};
@@
-90,7
+90,7
@@
static int __init irda_init(void)
{
int ret = 0;
{
int ret = 0;
- IRDA_DEBUG(0, "%s()\n", __
FUNCTION
__);
+ IRDA_DEBUG(0, "%s()\n", __
func
__);
/* Lower layer of the stack */
irlmp_init();
/* Lower layer of the stack */
irlmp_init();