* [rtc-linux] [PATCH 0/2] rtc: Fix module autoload for max77xx RTC drivers
@ 2015-05-13 15:18 ` Javier Martinez Canillas
0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-05-13 15:18 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel, Javier Martinez Canillas
Hello Alexandre and Alessandro,
This is a trivial series that fixes module autoloading for the Maxim
MAX77686 and MAX77802 RTC drivers that didn't export their platform
device ID table with MODULE_DEVICE_TABLE() so modalias information
was not available.
The series is composed of the following patches:
Javier Martinez Canillas (2):
rtc: max77686: Report platform modalias to fix module autoload
rtc: max77802: Report platform modalias to fix module autoload
drivers/rtc/rtc-max77686.c | 1 +
drivers/rtc/rtc-max77802.c | 1 +
2 files changed, 2 insertions(+)
Best regards,
Javier
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH 1/2] rtc: max77686: Report platform modalias to fix module autoload
2015-05-13 15:18 ` [rtc-linux] " Javier Martinez Canillas
@ 2015-05-13 15:18 ` Javier Martinez Canillas
-1 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-05-13 15:18 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel, Javier Martinez Canillas
If the rtc-max77686 driver is built as a module, modalias information is
not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE()
macro to export the platform ID table so the module contains that data.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
drivers/rtc/rtc-max77686.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index 7632a87784c3..7184a0eda793 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -511,6 +511,7 @@ static const struct platform_device_id rtc_id[] = {
{ "max77686-rtc", 0 },
{},
};
+MODULE_DEVICE_TABLE(platform, rtc_id);
static struct platform_driver max77686_rtc_driver = {
.driver = {
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [rtc-linux] [PATCH 1/2] rtc: max77686: Report platform modalias to fix module autoload
@ 2015-05-13 15:18 ` Javier Martinez Canillas
0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-05-13 15:18 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel, Javier Martinez Canillas
If the rtc-max77686 driver is built as a module, modalias information is
not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE()
macro to export the platform ID table so the module contains that data.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
drivers/rtc/rtc-max77686.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/rtc-max77686.c b/drivers/rtc/rtc-max77686.c
index 7632a87784c3..7184a0eda793 100644
--- a/drivers/rtc/rtc-max77686.c
+++ b/drivers/rtc/rtc-max77686.c
@@ -511,6 +511,7 @@ static const struct platform_device_id rtc_id[] = {
{ "max77686-rtc", 0 },
{},
};
+MODULE_DEVICE_TABLE(platform, rtc_id);
static struct platform_driver max77686_rtc_driver = {
.driver = {
--
2.1.4
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/2] rtc: max77802: Report platform modalias to fix module autoload
2015-05-13 15:18 ` [rtc-linux] " Javier Martinez Canillas
@ 2015-05-13 15:18 ` Javier Martinez Canillas
-1 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-05-13 15:18 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel, Javier Martinez Canillas
If the rtc-max77802 driver is built as a module, modalias information is
not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE()
macro to export the platform ID table so the module contains that data.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
drivers/rtc/rtc-max77802.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/rtc-max77802.c b/drivers/rtc/rtc-max77802.c
index 7f8adf8d6feb..82ffcc5a5345 100644
--- a/drivers/rtc/rtc-max77802.c
+++ b/drivers/rtc/rtc-max77802.c
@@ -484,6 +484,7 @@ static const struct platform_device_id rtc_id[] = {
{ "max77802-rtc", 0 },
{},
};
+MODULE_DEVICE_TABLE(platform, rtc_id);
static struct platform_driver max77802_rtc_driver = {
.driver = {
--
2.1.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [rtc-linux] [PATCH 2/2] rtc: max77802: Report platform modalias to fix module autoload
@ 2015-05-13 15:18 ` Javier Martinez Canillas
0 siblings, 0 replies; 10+ messages in thread
From: Javier Martinez Canillas @ 2015-05-13 15:18 UTC (permalink / raw)
To: Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel, Javier Martinez Canillas
If the rtc-max77802 driver is built as a module, modalias information is
not filled so the module is not autoloaded. Use the MODULE_DEVICE_TABLE()
macro to export the platform ID table so the module contains that data.
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
---
drivers/rtc/rtc-max77802.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/rtc/rtc-max77802.c b/drivers/rtc/rtc-max77802.c
index 7f8adf8d6feb..82ffcc5a5345 100644
--- a/drivers/rtc/rtc-max77802.c
+++ b/drivers/rtc/rtc-max77802.c
@@ -484,6 +484,7 @@ static const struct platform_device_id rtc_id[] = {
{ "max77802-rtc", 0 },
{},
};
+MODULE_DEVICE_TABLE(platform, rtc_id);
static struct platform_driver max77802_rtc_driver = {
.driver = {
--
2.1.4
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] rtc: Fix module autoload for max77xx RTC drivers
2015-05-13 15:18 ` [rtc-linux] " Javier Martinez Canillas
@ 2015-05-13 23:47 ` Krzysztof Kozlowski
-1 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-13 23:47 UTC (permalink / raw)
To: Javier Martinez Canillas, Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson, Chanwoo Choi,
rtc-linux, linux-samsung-soc, linux-kernel
On 14.05.2015 00:18, Javier Martinez Canillas wrote:
> Hello Alexandre and Alessandro,
>
> This is a trivial series that fixes module autoloading for the Maxim
> MAX77686 and MAX77802 RTC drivers that didn't export their platform
> device ID table with MODULE_DEVICE_TABLE() so modalias information
> was not available.
>
> The series is composed of the following patches:
>
> Javier Martinez Canillas (2):
> rtc: max77686: Report platform modalias to fix module autoload
> rtc: max77802: Report platform modalias to fix module autoload
>
> drivers/rtc/rtc-max77686.c | 1 +
> drivers/rtc/rtc-max77802.c | 1 +
> 2 files changed, 2 insertions(+)
For the patchset:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 10+ messages in thread
* [rtc-linux] Re: [PATCH 0/2] rtc: Fix module autoload for max77xx RTC drivers
@ 2015-05-13 23:47 ` Krzysztof Kozlowski
0 siblings, 0 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2015-05-13 23:47 UTC (permalink / raw)
To: Javier Martinez Canillas, Alexandre Belloni
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson, Chanwoo Choi,
rtc-linux, linux-samsung-soc, linux-kernel
On 14.05.2015 00:18, Javier Martinez Canillas wrote:
> Hello Alexandre and Alessandro,
>
> This is a trivial series that fixes module autoloading for the Maxim
> MAX77686 and MAX77802 RTC drivers that didn't export their platform
> device ID table with MODULE_DEVICE_TABLE() so modalias information
> was not available.
>
> The series is composed of the following patches:
>
> Javier Martinez Canillas (2):
> rtc: max77686: Report platform modalias to fix module autoload
> rtc: max77802: Report platform modalias to fix module autoload
>
> drivers/rtc/rtc-max77686.c | 1 +
> drivers/rtc/rtc-max77802.c | 1 +
> 2 files changed, 2 insertions(+)
For the patchset:
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Best regards,
Krzysztof
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 0/2] rtc: Fix module autoload for max77xx RTC drivers
2015-05-13 15:18 ` [rtc-linux] " Javier Martinez Canillas
@ 2015-05-18 22:45 ` Alexandre Belloni
-1 siblings, 0 replies; 10+ messages in thread
From: Alexandre Belloni @ 2015-05-18 22:45 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel
On 13/05/2015 at 17:18:00 +0200, Javier Martinez Canillas wrote :
> Hello Alexandre and Alessandro,
>
> This is a trivial series that fixes module autoloading for the Maxim
> MAX77686 and MAX77802 RTC drivers that didn't export their platform
> device ID table with MODULE_DEVICE_TABLE() so modalias information
> was not available.
>
> The series is composed of the following patches:
>
> Javier Martinez Canillas (2):
> rtc: max77686: Report platform modalias to fix module autoload
> rtc: max77802: Report platform modalias to fix module autoload
>
Both applied, thanks.
> drivers/rtc/rtc-max77686.c | 1 +
> drivers/rtc/rtc-max77802.c | 1 +
> 2 files changed, 2 insertions(+)
>
> Best regards,
> Javier
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 10+ messages in thread
* [rtc-linux] Re: [PATCH 0/2] rtc: Fix module autoload for max77xx RTC drivers
@ 2015-05-18 22:45 ` Alexandre Belloni
0 siblings, 0 replies; 10+ messages in thread
From: Alexandre Belloni @ 2015-05-18 22:45 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: Alessandro Zummo, Olof Johansson, Doug Anderson,
Krzysztof Kozlowski, Chanwoo Choi, rtc-linux, linux-samsung-soc,
linux-kernel
On 13/05/2015 at 17:18:00 +0200, Javier Martinez Canillas wrote :
> Hello Alexandre and Alessandro,
>
> This is a trivial series that fixes module autoloading for the Maxim
> MAX77686 and MAX77802 RTC drivers that didn't export their platform
> device ID table with MODULE_DEVICE_TABLE() so modalias information
> was not available.
>
> The series is composed of the following patches:
>
> Javier Martinez Canillas (2):
> rtc: max77686: Report platform modalias to fix module autoload
> rtc: max77802: Report platform modalias to fix module autoload
>
Both applied, thanks.
> drivers/rtc/rtc-max77686.c | 1 +
> drivers/rtc/rtc-max77802.c | 1 +
> 2 files changed, 2 insertions(+)
>
> Best regards,
> Javier
>
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 10+ messages in thread