mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
[brcm63xx] fix watchdog and rng drivers section mismatch (#11767)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32522 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
faf197b945
commit
a2ed4b34a3
@ -110,7 +110,7 @@ Signed-off-by: Florian Fainelli <florian@openwrt.org>
|
||||
+ return 4;
|
||||
+}
|
||||
+
|
||||
+static int __init bcm63xx_trng_probe(struct platform_device *pdev)
|
||||
+static int __devinit bcm63xx_trng_probe(struct platform_device *pdev)
|
||||
+{
|
||||
+ struct resource *r;
|
||||
+ struct clk *clk;
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- a/drivers/watchdog/bcm63xx_wdt.c
|
||||
+++ b/drivers/watchdog/bcm63xx_wdt.c
|
||||
@@ -301,7 +301,7 @@ static void bcm63xx_wdt_shutdown(struct
|
||||
bcm63xx_wdt_pause();
|
||||
}
|
||||
|
||||
-static struct platform_driver bcm63xx_wdt = {
|
||||
+static struct platform_driver bcm63xx_wdt_driver = {
|
||||
.probe = bcm63xx_wdt_probe,
|
||||
.remove = __devexit_p(bcm63xx_wdt_remove),
|
||||
.shutdown = bcm63xx_wdt_shutdown,
|
||||
@@ -311,7 +311,7 @@ static struct platform_driver bcm63xx_wd
|
||||
}
|
||||
};
|
||||
|
||||
-module_platform_driver(bcm63xx_wdt);
|
||||
+module_platform_driver(bcm63xx_wdt_driver);
|
||||
|
||||
MODULE_AUTHOR("Miguel Gaio <miguel.gaio@efixo.com>");
|
||||
MODULE_AUTHOR("Florian Fainelli <florian@openwrt.org>");
|
@ -24,7 +24,7 @@
|
||||
if (nvram.version <= 4)
|
||||
--- a/arch/mips/mm/cache.c
|
||||
+++ b/arch/mips/mm/cache.c
|
||||
@@ -57,6 +57,7 @@ void (*_dma_cache_wback)(unsigned long s
|
||||
@@ -58,6 +58,7 @@ void (*_dma_cache_wback)(unsigned long s
|
||||
void (*_dma_cache_inv)(unsigned long start, unsigned long size);
|
||||
|
||||
EXPORT_SYMBOL(_dma_cache_wback_inv);
|
||||
|
Loading…
Reference in New Issue
Block a user