Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321913 > unrolled thread

[PATCH] hwmon: (vexpress) rename vexpress hwmon implementation

Started bySudeep Holla <sudeep.holla@arm.com>
First post2016-01-29 18:40 +0100
Last post2016-01-29 19:00 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] hwmon: (vexpress) rename vexpress hwmon implementation Sudeep Holla <sudeep.holla@arm.com> - 2016-01-29 18:40 +0100
    Re: [PATCH] hwmon: (vexpress) rename vexpress hwmon implementation Guenter Roeck <linux@roeck-us.net> - 2016-01-29 19:00 +0100

#1321913 — [PATCH] hwmon: (vexpress) rename vexpress hwmon implementation

FromSudeep Holla <sudeep.holla@arm.com>
Date2016-01-29 18:40 +0100
Subject[PATCH] hwmon: (vexpress) rename vexpress hwmon implementation
Message-ID<qWlbA-6xj-19@gated-at.bofh.it>
The vexpress hwmon implementation is currently just called vexpress.
This is a problem because it clashes with another module with the same
name in regulators.

This patch renames the vexpress hwmon implementation to vexpress-hwmon
so that there will be no clash in the module namespace.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: lm-sensors@lm-sensors.org
Reported-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
---
 drivers/hwmon/Makefile                         | 2 +-
 drivers/hwmon/{vexpress.c => vexpress-hwmon.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/hwmon/{vexpress.c => vexpress-hwmon.c} (100%)

diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile
index 30c94df31465..cfc09711810c 100644
--- a/drivers/hwmon/Makefile
+++ b/drivers/hwmon/Makefile
@@ -149,7 +149,7 @@ obj-$(CONFIG_SENSORS_TMP103)	+= tmp103.o
 obj-$(CONFIG_SENSORS_TMP401)	+= tmp401.o
 obj-$(CONFIG_SENSORS_TMP421)	+= tmp421.o
 obj-$(CONFIG_SENSORS_TWL4030_MADC)+= twl4030-madc-hwmon.o
-obj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress.o
+obj-$(CONFIG_SENSORS_VEXPRESS)	+= vexpress-hwmon.o
 obj-$(CONFIG_SENSORS_VIA_CPUTEMP)+= via-cputemp.o
 obj-$(CONFIG_SENSORS_VIA686A)	+= via686a.o
 obj-$(CONFIG_SENSORS_VT1211)	+= vt1211.o
diff --git a/drivers/hwmon/vexpress.c b/drivers/hwmon/vexpress-hwmon.c
similarity index 100%
rename from drivers/hwmon/vexpress.c
rename to drivers/hwmon/vexpress-hwmon.c
-- 
1.9.1

[toc] | [next] | [standalone]


#1321936

FromGuenter Roeck <linux@roeck-us.net>
Date2016-01-29 19:00 +0100
Message-ID<qWluX-6FF-27@gated-at.bofh.it>
In reply to#1321913
On 01/29/2016 09:35 AM, Sudeep Holla wrote:
> The vexpress hwmon implementation is currently just called vexpress.
> This is a problem because it clashes with another module with the same
> name in regulators.
>
> This patch renames the vexpress hwmon implementation to vexpress-hwmon
> so that there will be no clash in the module namespace.
>
> Cc: Liviu Dudau <liviu.dudau@arm.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
> Cc: Jean Delvare <jdelvare@suse.com>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: lm-sensors@lm-sensors.org
> Reported-by: Rusty Russell <rusty@rustcorp.com.au>
> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
> ---

Applied.

Thanks,
Guenter

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web