+ i2c-adapter-driver-ibm-iic-forgot-to-specify-physical-device.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     I2C adapter driver IBM IIC forgot to specify physical device
has been added to the -mm tree.  Its filename is
     i2c-adapter-driver-ibm-iic-forgot-to-specify-physical-device.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: I2C adapter driver IBM IIC forgot to specify physical device
From: Bart Van Assche <bart.vanassche@xxxxxxxxx>

Taken from http://bugzilla.kernel.org/show_bug.cgi?id=8248

IBM IIC driver prints following message to console:
**WARNING** I2C adapter driver [IBM IIC] forgot to specify physical device; fix it!

This patch makes the warning go away.

Cc: Jean Delvare <khali@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/i2c/busses/i2c-ibm_iic.c |    1 +
 1 files changed, 1 insertion(+)

diff -puN drivers/i2c/busses/i2c-ibm_iic.c~i2c-adapter-driver-ibm-iic-forgot-to-specify-physical-device drivers/i2c/busses/i2c-ibm_iic.c
--- a/drivers/i2c/busses/i2c-ibm_iic.c~i2c-adapter-driver-ibm-iic-forgot-to-specify-physical-device
+++ a/drivers/i2c/busses/i2c-ibm_iic.c
@@ -730,6 +730,7 @@ static int __devinit iic_probe(struct oc
 	adap->dev.parent = &ocp->dev;
 	strcpy(adap->name, "IBM IIC");
 	i2c_set_adapdata(adap, dev);
+	adap->dev.parent = &ocp->dev;
 	adap->id = I2C_HW_OCP;
 	adap->class = I2C_CLASS_HWMON;
 	adap->algo = &iic_algo;
_

Patches currently in -mm which might be from bart.vanassche@xxxxxxxxx are

ocotea-board-ntpd-complains-that-the-frequency-error-exceeds-the-tolerance.patch
i2c-adapter-driver-ibm-iic-forgot-to-specify-physical-device.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux