[linux-yocto] [PATCH 142/161] spi: pl022: Fix .init section mismatch
Cristian Bercaru
cristian.bercaru at windriver.com
Thu May 21 12:22:04 PDT 2015
From: Anders Berg <anders.berg at avagotech.com>
Signed-off-by: Anders Berg <anders.berg at avagotech.com>
---
drivers/spi/spi-pl022.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 1204d69..12b925b 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -2287,8 +2287,8 @@ static struct vendor_data vendor_db5500_pl023 = {
.loopback = true,
};
-static int __init
-pl022_amba_probe(struct amba_device *adev, struct amba_id *id)
+static int
+pl022_amba_probe(struct amba_device *adev, const struct amba_id *id)
{
struct pl022 *pl022 = NULL;
int ret;
--
1.7.9.5
More information about the linux-yocto
mailing list