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:
@@ -142,7 +142,7 @@ static struct platform_device m48t59_rtc = {
|
||||
},
|
||||
};
|
||||
|
||||
static int __devinit clock_probe(struct of_device *op, const struct of_device_id *match)
|
||||
static int __devinit clock_probe(struct platform_device *op, const struct of_device_id *match)
|
||||
{
|
||||
struct device_node *dp = op->dev.of_node;
|
||||
const char *model = of_get_property(dp, "model", NULL);
|
||||
|
Reference in New Issue
Block a user