Fix AllWinner DMA driver loading
This commit is contained in:
parent
767f0d5cef
commit
0fcbdb2be7
|
@ -0,0 +1,35 @@
|
|||
From 94c622b2a742c6793d74a71280df0c3a5365a156 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Emilio=20L=C3=B3pez?= <emilio.lopez@collabora.co.uk>
|
||||
Date: Sun, 21 Feb 2016 22:26:35 -0300
|
||||
Subject: [PATCH 33831/39109] dmaengine: sun4i: support module autoloading
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
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>
|
||||
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
|
||||
---
|
||||
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.4
|
||||
|
|
@ -506,6 +506,8 @@ Patch422: geekbox-v4-device-tree-support.patch
|
|||
# http://www.spinics.net/lists/arm-kernel/msg483898.html
|
||||
Patch423: Initial-AllWinner-A64-and-PINE64-support.patch
|
||||
|
||||
Patch424: dmaengine-sun4i-support-module-autoloading.patch
|
||||
|
||||
# http://www.spinics.net/lists/linux-tegra/msg26029.html
|
||||
Patch426: usb-phy-tegra-Add-38.4MHz-clock-table-entry.patch
|
||||
|
||||
|
@ -2187,6 +2189,7 @@ fi
|
|||
%changelog
|
||||
* Sun May 29 2016 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||
- Update Utilite patch
|
||||
- Fix AllWinner DMA driver loading
|
||||
|
||||
* Mon May 23 2016 Josh Boyer <jwboyer@fedoraproject.org>
|
||||
- CVE-2016-4951 null ptr deref in tipc_nl_publ_dump (rhbz 1338625 1338626)
|
||||
|
|
Loading…
Reference in New Issue