[PATCH mips-for-linux-next] hw_random: bcm63xx: fix section mismatch of the probe() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Florian Fainelli <florian@xxxxxxxxxxx>
---
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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux