All of lore.kernel.org
 help / color / mirror / Atom feed
From: azummo-lists@towertech.it (Alessandro Zummo)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] [PATCH] hwmon class for ixp4xx bus driver
Date: Sun, 19 Feb 2006 17:02:27 +0000	[thread overview]
Message-ID: <20060219180227.3a33a4d2@inspiron> (raw)


This patch adds I2C_CLASS_HWMON to the ixp4xx
bus driver.

Signed-off-by: Alessandro Zummo <a.zummo at towertech.it>

--- linux-ixp4xx.orig/drivers/i2c/busses/i2c-ixp4xx.c	2006-02-11 15:18:29.000000000 +0100
+++ linux-ixp4xx/drivers/i2c/busses/i2c-ixp4xx.c	2006-02-18 16:20:12.000000000 +0100
@@ -126,6 +126,7 @@ static int ixp4xx_i2c_probe(struct platf
 	drv_data->algo_data.timeout = 100;
 
 	drv_data->adapter.id = I2C_HW_B_IXP4XX;
+	drv_data->adapter.class = I2C_CLASS_HWMON;
 	strlcpy(drv_data->adapter.name, plat_dev->dev.driver->name,
 		I2C_NAME_SIZE);
 	drv_data->adapter.algo_data = &drv_data->algo_data;


-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it



             reply	other threads:[~2006-02-19 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-19 17:02 Alessandro Zummo [this message]
2006-02-19 19:52 ` [lm-sensors] [PATCH] hwmon class for ixp4xx bus driver Jean Delvare

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=20060219180227.3a33a4d2@inspiron \
    --to=azummo-lists@towertech.it \
    --cc=lm-sensors@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.