All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading
@ 2016-02-22  1:26 ` Emilio López
  0 siblings, 0 replies; 14+ 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] 14+ messages in thread

end of thread, other threads:[~2016-03-03 15:47 UTC | newest]

Thread overview: 14+ 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 ` 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:56   ` Javier Martinez Canillas
2016-02-29 18:56     ` Javier Martinez Canillas
2016-03-03 15:47   ` Vinod Koul
2016-03-03 15:47     ` Vinod Koul
2016-02-22  1:26 ` [PATCH 3/3] usb: musb: sunxi: " Emilio López
2016-02-22  1:26   ` Emilio López
2016-02-29 18:57   ` Javier Martinez Canillas
2016-02-29 18:57     ` Javier Martinez Canillas
2016-02-29 18:55 ` [PATCH 1/3] [media] rc: sunxi-cir: " Javier Martinez Canillas
2016-02-29 18:55   ` Javier Martinez Canillas

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.