of/device: Replace struct of_device with struct platform_device
[pandora-kernel.git] / sound / aoa / soundbus / sysfs.c
index 6496e75..e0980b5 100644 (file)
@@ -16,7 +16,7 @@ static ssize_t modalias_show(struct device *dev, struct device_attribute *attr,
                             char *buf)
 {
        struct soundbus_dev *sdev = to_soundbus_device(dev);
-       struct of_device *of = &sdev->ofdev;
+       struct platform_device *of = &sdev->ofdev;
        int length;
 
        if (*sdev->modalias) {