aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/soundbus/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/aoa/soundbus/sysfs.c')
-rw-r--r--sound/aoa/soundbus/sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/sysfs.c b/sound/aoa/soundbus/sysfs.c
index 6496e754f00a..e0980b5c2cd8 100644
--- a/sound/aoa/soundbus/sysfs.c
+++ b/sound/aoa/soundbus/sysfs.c
@@ -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) {