X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fhwmon%2Flm63.c;h=11628700808327709a4cb9584da6cfc18e740f4f;hb=d28f87aa87ce8b196349d7c306a7e6fe3abd7155;hp=f207434730de66f472d7e6203e4eb31b1752827d;hpb=f2e1d89f9b349b3cd914b7c6ec6368632f4ad048;p=linux-2.6 diff --git a/drivers/hwmon/lm63.c b/drivers/hwmon/lm63.c index f207434730..1162870080 100644 --- a/drivers/hwmon/lm63.c +++ b/drivers/hwmon/lm63.c @@ -53,7 +53,7 @@ * Address is fully defined internally and cannot be changed. */ -static unsigned short normal_i2c[] = { 0x4c, I2C_CLIENT_END }; +static const unsigned short normal_i2c[] = { 0x4c, I2C_CLIENT_END }; /* * Insmod parameters @@ -533,7 +533,7 @@ static void lm63_init_client(struct i2c_client *client) /* Start converting if needed */ if (data->config & 0x40) { /* standby */ - dev_dbg(&client->dev, "Switching to operational mode"); + dev_dbg(&client->dev, "Switching to operational mode\n"); data->config &= 0xA7; i2c_smbus_write_byte_data(client, LM63_REG_CONFIG1, data->config);