* [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading
@ 2016-02-22 1:26 Emilio López
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Emilio López @ 2016-02-22 1:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Emilio L?pez <emilio.lopez@collabora.co.uk>
MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
systems supporting infrared. This commit adds the missing line so it
works out of the box when built as a module and running on a sunxi
system with an infrared receiver.
Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
---
drivers/media/rc/sunxi-cir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c
index 40f7768..eaadc08 100644
--- a/drivers/media/rc/sunxi-cir.c
+++ b/drivers/media/rc/sunxi-cir.c
@@ -326,6 +326,7 @@ static const struct of_device_id sunxi_ir_match[] = {
{ .compatible = "allwinner,sun5i-a13-ir", },
{},
};
+MODULE_DEVICE_TABLE(of, sunxi_ir_match);
static struct platform_driver sunxi_ir_driver = {
.probe = sunxi_ir_probe,
--
2.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] dmaengine: sun4i: support module autoloading
2016-02-22 1:26 [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading Emilio López
@ 2016-02-22 1:26 ` Emilio López
2016-02-29 18:56 ` Javier Martinez Canillas
2016-03-03 15:47 ` Vinod Koul
2016-02-22 1:26 ` [PATCH 3/3] usb: musb: sunxi: " Emilio López
2016-02-29 18:55 ` [PATCH 1/3] [media] rc: sunxi-cir: " Javier Martinez Canillas
2 siblings, 2 replies; 7+ messages in thread
From: Emilio López @ 2016-02-22 1:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Emilio L?pez <emilio.lopez@collabora.co.uk>
MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
supported systems. This commit adds the missing line so it loads
automatically when building it as a module and running on a system
with the early sunxi DMA engine.
Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
---
drivers/dma/sun4i-dma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/dma/sun4i-dma.c b/drivers/dma/sun4i-dma.c
index 1661d518..e0df233 100644
--- a/drivers/dma/sun4i-dma.c
+++ b/drivers/dma/sun4i-dma.c
@@ -1271,6 +1271,7 @@ static const struct of_device_id sun4i_dma_match[] = {
{ .compatible = "allwinner,sun4i-a10-dma" },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, sun4i_dma_match);
static struct platform_driver sun4i_dma_driver = {
.probe = sun4i_dma_probe,
--
2.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/3] dmaengine: sun4i: support module autoloading
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
@ 2016-02-29 18:56 ` Javier Martinez Canillas
2016-03-03 15:47 ` Vinod Koul
1 sibling, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2016-02-29 18:56 UTC (permalink / raw)
To: linux-arm-kernel
Hello Emilio,
On Sun, Feb 21, 2016 at 10:26 PM, Emilio L?pez <emilio@elopez.com.ar> wrote:
> From: Emilio L?pez <emilio.lopez@collabora.co.uk>
>
> MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
> supported systems. This commit adds the missing line so it loads
> automatically when building it as a module and running on a system
> with the early sunxi DMA engine.
>
> Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
> ---
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Best regards,
Javier
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/3] dmaengine: sun4i: support module autoloading
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
2016-02-29 18:56 ` Javier Martinez Canillas
@ 2016-03-03 15:47 ` Vinod Koul
1 sibling, 0 replies; 7+ messages in thread
From: Vinod Koul @ 2016-03-03 15:47 UTC (permalink / raw)
To: linux-arm-kernel
On Sun, Feb 21, 2016 at 10:26:35PM -0300, Emilio L?pez wrote:
> From: Emilio L?pez <emilio.lopez@collabora.co.uk>
>
> MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
> supported systems. This commit adds the missing line so it loads
> automatically when building it as a module and running on a system
> with the early sunxi DMA engine.
Applied, thanks
--
~Vinod
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/3] usb: musb: sunxi: support module autoloading
2016-02-22 1:26 [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading Emilio López
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
@ 2016-02-22 1:26 ` Emilio López
2016-02-29 18:57 ` Javier Martinez Canillas
2016-02-29 18:55 ` [PATCH 1/3] [media] rc: sunxi-cir: " Javier Martinez Canillas
2 siblings, 1 reply; 7+ messages in thread
From: Emilio López @ 2016-02-22 1:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Emilio L?pez <emilio.lopez@collabora.co.uk>
MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
sunxi systems using the OTG controller. This commit adds the missing
line so it loads automatically when building it as a module and running
on a system with an USB OTG port.
Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
---
drivers/usb/musb/sunxi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c
index d9b0dc4..fdab423 100644
--- a/drivers/usb/musb/sunxi.c
+++ b/drivers/usb/musb/sunxi.c
@@ -752,6 +752,7 @@ static const struct of_device_id sunxi_musb_match[] = {
{ .compatible = "allwinner,sun8i-a33-musb", },
{}
};
+MODULE_DEVICE_TABLE(of, sunxi_musb_match);
static struct platform_driver sunxi_musb_driver = {
.probe = sunxi_musb_probe,
--
2.7.1
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/3] usb: musb: sunxi: support module autoloading
2016-02-22 1:26 ` [PATCH 3/3] usb: musb: sunxi: " Emilio López
@ 2016-02-29 18:57 ` Javier Martinez Canillas
0 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2016-02-29 18:57 UTC (permalink / raw)
To: linux-arm-kernel
Hello Emilio,
On Sun, Feb 21, 2016 at 10:26 PM, Emilio L?pez <emilio@elopez.com.ar> wrote:
> From: Emilio L?pez <emilio.lopez@collabora.co.uk>
>
> MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
> sunxi systems using the OTG controller. This commit adds the missing
> line so it loads automatically when building it as a module and running
> on a system with an USB OTG port.
>
> Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
> ---
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Best regards,
Javier
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading
2016-02-22 1:26 [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading Emilio López
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
2016-02-22 1:26 ` [PATCH 3/3] usb: musb: sunxi: " Emilio López
@ 2016-02-29 18:55 ` Javier Martinez Canillas
2 siblings, 0 replies; 7+ messages in thread
From: Javier Martinez Canillas @ 2016-02-29 18:55 UTC (permalink / raw)
To: linux-arm-kernel
Hello Emilio,
On Sun, Feb 21, 2016 at 10:26 PM, Emilio L?pez <emilio@elopez.com.ar> wrote:
> From: Emilio L?pez <emilio.lopez@collabora.co.uk>
>
> MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on
> systems supporting infrared. This commit adds the missing line so it
> works out of the box when built as a module and running on a sunxi
> system with an infrared receiver.
>
> Signed-off-by: Emilio L?pez <emilio.lopez@collabora.co.uk>
Looks good to me.
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Best regards,
Javier
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-03-03 15:47 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 1:26 [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading Emilio López
2016-02-22 1:26 ` [PATCH 2/3] dmaengine: sun4i: " Emilio López
2016-02-29 18:56 ` Javier Martinez Canillas
2016-03-03 15:47 ` Vinod Koul
2016-02-22 1:26 ` [PATCH 3/3] usb: musb: sunxi: " Emilio López
2016-02-29 18:57 ` Javier Martinez Canillas
2016-02-29 18:55 ` [PATCH 1/3] [media] rc: sunxi-cir: " Javier Martinez Canillas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).