public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com
Subject: [PATCH] i2c driver fixes for 2.6.1
Date: Mon, 19 Jan 2004 15:59:17 -0800	[thread overview]
Message-ID: <10745567571488@kroah.com> (raw)
In-Reply-To: <20040119235733.GA5549@kroah.com>

ChangeSet 1.1474.98.1, 2004/01/14 11:08:59-08:00, trini@kernel.crashing.org

[PATCH] I2C: module_parm fixes for i2c-piix4.c


 drivers/i2c/busses/i2c-piix4.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)


diff -Nru a/drivers/i2c/busses/i2c-piix4.c b/drivers/i2c/busses/i2c-piix4.c
--- a/drivers/i2c/busses/i2c-piix4.c	Mon Jan 19 15:33:22 2004
+++ b/drivers/i2c/busses/i2c-piix4.c	Mon Jan 19 15:33:22 2004
@@ -31,6 +31,7 @@
 /* #define DEBUG 1 */
 
 #include <linux/module.h>
+#include <linux/moduleparam.h>
 #include <linux/config.h>
 #include <linux/pci.h>
 #include <linux/kernel.h>
@@ -88,13 +89,13 @@
 /* If force is set to anything different from 0, we forcibly enable the
    PIIX4. DANGEROUS! */
 static int force = 0;
-MODULE_PARM(force, "i");
+module_param (force, int, 0);
 MODULE_PARM_DESC(force, "Forcibly enable the PIIX4. DANGEROUS!");
 
 /* If force_addr is set to anything different from 0, we forcibly enable
    the PIIX4 at the given address. VERY DANGEROUS! */
 static int force_addr = 0;
-MODULE_PARM(force_addr, "i");
+module_param (force_addr, int, 0);
 MODULE_PARM_DESC(force_addr,
 		 "Forcibly enable the PIIX4 at the given address. "
 		 "EXTREMELY DANGEROUS!");
@@ -102,7 +103,7 @@
 /* If fix_hstcfg is set to anything different from 0, we reset one of the
    registers to be a valid value. */
 static int fix_hstcfg = 0;
-MODULE_PARM(fix_hstcfg, "i");
+module_param (fix_hstcfg, int, 0);
 MODULE_PARM_DESC(fix_hstcfg,
 		"Fix config register. Needed on some boards (Force CPCI735).");
 


  reply	other threads:[~2004-01-20  2:28 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-19 23:57 [BK PATCH] i2c driver fixes for 2.6.1 Greg KH
2004-01-19 23:59 ` Greg KH [this message]
2004-01-19 23:59   ` [PATCH] " Greg KH
2004-01-19 23:59     ` Greg KH
2004-01-19 23:59       ` Greg KH
2004-01-19 23:59         ` Greg KH
2004-01-19 23:59           ` Greg KH
2004-01-19 23:59             ` Greg KH
2004-01-19 23:59               ` Greg KH
2004-01-19 23:59                 ` Greg KH
2004-01-19 23:59                   ` Greg KH
2004-01-19 23:59                     ` Greg KH
2004-01-19 23:59                       ` Greg KH
2004-01-19 23:59                         ` Greg KH
2004-01-19 23:59                           ` Greg KH
2004-01-19 23:59                             ` Greg KH
2004-01-19 23:59                               ` Greg KH
2004-01-19 23:59                                 ` Greg KH
2004-01-19 23:59                                   ` Greg KH
2004-01-19 23:59                                     ` Greg KH
2004-01-19 23:59                                       ` Greg KH
2004-01-19 23:59                                         ` Greg KH
2004-01-19 23:59                                           ` Greg KH
2004-01-19 23:59                                             ` Greg KH
2004-01-19 23:59                                               ` Greg KH
2004-01-19 23:59                                                 ` Greg KH
2004-01-19 23:59                                                   ` Greg KH
2004-01-19 23:59                                                     ` Greg KH
2004-01-19 23:59                                                       ` Greg KH
2004-01-19 23:59                                                         ` Greg KH
2004-01-21 21:50                                                 ` Jean Delvare
2004-01-21 23:56                                                   ` Greg KH
2004-01-31  8:56                                                     ` Jean Delvare
2004-01-31 15:23                                                       ` Greg KH
2004-01-20 22:03     ` Jean Delvare
2004-01-20 22:07       ` Greg KH
2004-01-21 20:47         ` Jean Delvare
2004-01-24  1:14           ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10745567571488@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sensors@stimpy.netroedge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox