All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const
@ 2014-07-18  7:56 Axel Lin
  2014-07-18  8:00 ` Roland Stigge
  2014-07-18 13:40 ` Guenter Roeck
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2014-07-18  7:56 UTC (permalink / raw)
  To: lm-sensors

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/hwmon/max6639.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c
index 70650de..dac6d85 100644
--- a/drivers/hwmon/max6639.c
+++ b/drivers/hwmon/max6639.c
@@ -35,7 +35,7 @@
 #include <linux/i2c/max6639.h>
 
 /* Addresses to scan */
-static unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END };
+static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END };
 
 /* The MAX6639 registers, valid channel numbers: 0, 1 */
 #define MAX6639_REG_TEMP(ch)			(0x00 + (ch))
-- 
1.9.1




_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const
  2014-07-18  7:56 [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const Axel Lin
@ 2014-07-18  8:00 ` Roland Stigge
  2014-07-18 13:40 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Roland Stigge @ 2014-07-18  8:00 UTC (permalink / raw)
  To: lm-sensors

On 07/18/2014 09:56 AM, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/hwmon/max6639.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c
> index 70650de..dac6d85 100644
> --- a/drivers/hwmon/max6639.c
> +++ b/drivers/hwmon/max6639.c
> @@ -35,7 +35,7 @@
>  #include <linux/i2c/max6639.h>
>  
>  /* Addresses to scan */
> -static unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END };
> +static const unsigned short normal_i2c[] = { 0x2c, 0x2e, 0x2f, I2C_CLIENT_END };
>  
>  /* The MAX6639 registers, valid channel numbers: 0, 1 */
>  #define MAX6639_REG_TEMP(ch)			(0x00 + (ch))
> 

Acked-by: Roland Stigge <stigge@antcom.de>

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const
  2014-07-18  7:56 [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const Axel Lin
  2014-07-18  8:00 ` Roland Stigge
@ 2014-07-18 13:40 ` Guenter Roeck
  1 sibling, 0 replies; 3+ messages in thread
From: Guenter Roeck @ 2014-07-18 13:40 UTC (permalink / raw)
  To: lm-sensors

On 07/18/2014 12:56 AM, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---

Applied to -next.

Thanks,
Guenter



_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-18 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-18  7:56 [lm-sensors] [PATCH] hwmon: (max6639) Make normal_i2c array const Axel Lin
2014-07-18  8:00 ` Roland Stigge
2014-07-18 13:40 ` Guenter Roeck

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.