linux-mips
[Top] [All Lists]

[PATCH mips-for-linux-next] hw_random: bcm63xx: fix section mismatch of

To: ralf@linux-mips.org
Subject: [PATCH mips-for-linux-next] hw_random: bcm63xx: fix section mismatch of the probe() function
From: Florian Fainelli <florian@openwrt.org>
Date: Fri, 29 Jun 2012 11:09:41 +0200
Cc: linux-mips@linux-mips.org, Florian Fainelli <florian@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
Ralf, since the random driver will be merged via your tree, can you
fold it in the patch "hw_random: add Broadcom BCM63xx RNG driver"?

Thanks!

 drivers/char/hw_random/bcm63xx-rng.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/char/hw_random/bcm63xx-rng.c 
b/drivers/char/hw_random/bcm63xx-rng.c
index b789dbf..aec6a42 100644
--- a/drivers/char/hw_random/bcm63xx-rng.c
+++ b/drivers/char/hw_random/bcm63xx-rng.c
@@ -61,7 +61,7 @@ static int bcm63xx_rng_data_read(struct hwrng *rng, u32 *data)
        return 4;
 }
 
-static int __init bcm63xx_rng_probe(struct platform_device *pdev)
+static int __devinit bcm63xx_rng_probe(struct platform_device *pdev)
 {
        struct resource *r;
        struct clk *clk;
-- 
1.7.9.5


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH mips-for-linux-next] hw_random: bcm63xx: fix section mismatch of the probe() function, Florian Fainelli <=