]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/aoa/soundbus/sysfs.c
of/device: Replace struct of_device with struct platform_device
[karo-tx-linux.git] / sound / aoa / soundbus / sysfs.c
index 6496e754f00a2b1bb470f9942cc7d5f1f569b3c9..e0980b5c2cd81c4a628fc3c9b2c4491ea501deea 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) {