X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Frtc%2Frtc-ds1672.c;h=dfef1637bfb8a1a69dc1848d75e2b490a458ddaf;hb=5ee2ae7fb2079c5775d8802cd282140d71632a2d;hp=205fa28593b769820f966ec25e5f122a6745bdaa;hpb=659dba34807692a6ebd55e7859dff2c7cb1b005d;p=powerpc.git diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 205fa28593..dfef1637bf 100644 --- a/drivers/rtc/rtc-ds1672.c +++ b/drivers/rtc/rtc-ds1672.c @@ -199,7 +199,7 @@ static int ds1672_probe(struct i2c_adapter *adapter, int address, int kind) struct i2c_client *client; struct rtc_device *rtc; - dev_dbg(adapter->class_dev.dev, "%s\n", __FUNCTION__); + dev_dbg(&adapter->dev, "%s\n", __FUNCTION__); if (!i2c_check_functionality(adapter, I2C_FUNC_I2C)) { err = -ENODEV;