[linux-yocto] [PATCH 143/161] gpio: pl061: Fix .init section mismatch

Cristian Bercaru cristian.bercaru at windriver.com
Thu May 21 12:22:05 PDT 2015


From: Anders Berg <anders.berg at avagotech.com>

Signed-off-by: Anders Berg <anders.berg at avagotech.com>
---
 drivers/gpio/gpio-pl061.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index 9d35136..3d0e9fc 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -390,7 +390,7 @@ static const struct dev_pm_ops pl061_dev_pm_ops = {
 #endif
 
 #ifdef CONFIG_ARM_AMBA
-static int __init pl061_amba_probe(struct amba_device *dev, struct amba_id *id)
+static int pl061_amba_probe(struct amba_device *dev, const struct amba_id *id)
 {
 	return pl061_probe(&dev->dev, &dev->res, dev->irq[0], NULL);
 }
-- 
1.7.9.5



More information about the linux-yocto mailing list