sparc: remove references to of_device and to_of_device
of_device is just a #define alias to platform_device. This patch replaces all references to it with platform_device. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@ -51,7 +51,7 @@ static void pmc_swift_idle(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
static int __devinit pmc_probe(struct of_device *op,
|
||||
static int __devinit pmc_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
{
|
||||
regs = of_ioremap(&op->resource[0], 0,
|
||||
|
Reference in New Issue
Block a user