diff options
author | Alessandro Rubini <rubini@gnudd.com> | 2009-05-20 22:39:08 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-05-20 23:26:51 +0100 |
commit | 03fbdb15c14e9746c63168e3ff2c64b9c8336d33 (patch) | |
tree | 819b4986a4f274c3402b74ccf0c7c815647daf3d /drivers/mmc | |
parent | a93ea9b357a4d4fce9a1f65bf9c152fb67c30716 (diff) | |
download | kernel_samsung_aries-03fbdb15c14e9746c63168e3ff2c64b9c8336d33.zip kernel_samsung_aries-03fbdb15c14e9746c63168e3ff2c64b9c8336d33.tar.gz kernel_samsung_aries-03fbdb15c14e9746c63168e3ff2c64b9c8336d33.tar.bz2 |
[ARM] 5519/1: amba probe: pass "struct amba_id *" instead of void *
The second argument of the probe method points to the amba_id
structure, so it's better passed with the correct type. None of the
current in-tree drivers uses the pointer, so they have only been
checked for a clean compile.
Change suggested by Russell King.
Signed-off-by: Alessandro Rubini <rubini@unipv.it>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 36875dc..7d4febd 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -490,7 +490,7 @@ static void mmci_check_status(unsigned long data) mod_timer(&host->timer, jiffies + HZ); } -static int __devinit mmci_probe(struct amba_device *dev, void *id) +static int __devinit mmci_probe(struct amba_device *dev, struct amba_id *id) { struct mmc_platform_data *plat = dev->dev.platform_data; struct mmci_host *host; |