Commit cae2af76 authored by Jan Dittmer's avatar Jan Dittmer Committed by Linus Torvalds

[PATCH] eth1394 MODULE_PARM conversion

Convert MODULE_PARM to module_param
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e5bf1c7a
...@@ -168,11 +168,11 @@ MODULE_LICENSE("GPL"); ...@@ -168,11 +168,11 @@ MODULE_LICENSE("GPL");
* consume in the event that some partial datagrams are never completed. This * consume in the event that some partial datagrams are never completed. This
* should probably change to a sysctl item or the like if possible. * should probably change to a sysctl item or the like if possible.
*/ */
MODULE_PARM(max_partial_datagrams, "i"); static int max_partial_datagrams = 25;
module_param(max_partial_datagrams, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(max_partial_datagrams, MODULE_PARM_DESC(max_partial_datagrams,
"Maximum number of partially received fragmented datagrams " "Maximum number of partially received fragmented datagrams "
"(default = 25)."); "(default = 25).");
static int max_partial_datagrams = 25;
static int ether1394_header(struct sk_buff *skb, struct net_device *dev, static int ether1394_header(struct sk_buff *skb, struct net_device *dev,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment