tree 433081bd7bcb1c7b90abc94f35231f6d8c9f1d4b
parent cd8749b4aa6b7502e234d72cb53c00a3bc27ed1b
author Victor Fusco <[EMAIL PROTECTED]> Fri, 01 Jul 2005 00:03:12 +0200
committer Jeff Garzik <[EMAIL PROTECTED]> Sun, 31 Jul 2005 08:54:14 -0400

[PATCH] drivers/net/pci-skeleton.c: MODULE_PARM -> module_param

Use module_param() instead of the old MODULE_PARM()

Signed-off-by: Victor Fusco <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/pci-skeleton.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/pci-skeleton.c b/drivers/net/pci-skeleton.c
--- a/drivers/net/pci-skeleton.c
+++ b/drivers/net/pci-skeleton.c
@@ -486,9 +486,9 @@ struct netdrv_private {
 MODULE_DESCRIPTION ("Skeleton for a PCI Fast Ethernet driver");
-MODULE_PARM (multicast_filter_limit, "i");
-MODULE_PARM (max_interrupt_work, "i");
-MODULE_PARM (media, "1-" __MODULE_STRING(8) "i");
+module_param(multicast_filter_limit, int, 0);
+module_param(max_interrupt_work, int, 0);
+module_param_array(media, int, NULL, 0);
 MODULE_PARM_DESC (multicast_filter_limit, "pci-skeleton maximum number of 
filtered multicast addresses");
 MODULE_PARM_DESC (max_interrupt_work, "pci-skeleton maximum events handled per 
 MODULE_PARM_DESC (media, "pci-skeleton: Bits 0-3: media type, bit 17: full 
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to