diff options
Diffstat (limited to 'sound/aoa/soundbus')
-rw-r--r-- | sound/aoa/soundbus/core.c | 2 | ||||
-rw-r--r-- | sound/aoa/soundbus/i2sbus/i2sbus-core.c | 5 | ||||
-rw-r--r-- | sound/aoa/soundbus/soundbus.h | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index 8b2e9b905cda..64d163914335 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c | |||
@@ -163,8 +163,6 @@ static int soundbus_device_resume(struct device * dev) | |||
163 | 163 | ||
164 | #endif /* CONFIG_PM */ | 164 | #endif /* CONFIG_PM */ |
165 | 165 | ||
166 | extern struct device_attribute soundbus_dev_attrs[]; | ||
167 | |||
168 | static struct bus_type soundbus_bus_type = { | 166 | static struct bus_type soundbus_bus_type = { |
169 | .name = "aoa-soundbus", | 167 | .name = "aoa-soundbus", |
170 | .probe = soundbus_probe, | 168 | .probe = soundbus_probe, |
diff --git a/sound/aoa/soundbus/i2sbus/i2sbus-core.c b/sound/aoa/soundbus/i2sbus/i2sbus-core.c index 0fccdbf51663..efb9441b3acf 100644 --- a/sound/aoa/soundbus/i2sbus/i2sbus-core.c +++ b/sound/aoa/soundbus/i2sbus/i2sbus-core.c | |||
@@ -23,9 +23,6 @@ | |||
23 | MODULE_LICENSE("GPL"); | 23 | MODULE_LICENSE("GPL"); |
24 | MODULE_AUTHOR("Johannes Berg <johannes@sipsolutions.net>"); | 24 | MODULE_AUTHOR("Johannes Berg <johannes@sipsolutions.net>"); |
25 | MODULE_DESCRIPTION("Apple Soundbus: I2S support"); | 25 | MODULE_DESCRIPTION("Apple Soundbus: I2S support"); |
26 | /* for auto-loading, declare that we handle this weird | ||
27 | * string that macio puts into the relevant device */ | ||
28 | MODULE_ALIAS("of:Ni2sTi2sC"); | ||
29 | 26 | ||
30 | static int force; | 27 | static int force; |
31 | module_param(force, int, 0444); | 28 | module_param(force, int, 0444); |
@@ -37,6 +34,8 @@ static struct of_device_id i2sbus_match[] = { | |||
37 | { } | 34 | { } |
38 | }; | 35 | }; |
39 | 36 | ||
37 | MODULE_DEVICE_TABLE(of, i2sbus_match); | ||
38 | |||
40 | static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev, | 39 | static int alloc_dbdma_descriptor_ring(struct i2sbus_dev *i2sdev, |
41 | struct dbdma_command_mem *r, | 40 | struct dbdma_command_mem *r, |
42 | int numcmds) | 41 | int numcmds) |
diff --git a/sound/aoa/soundbus/soundbus.h b/sound/aoa/soundbus/soundbus.h index 5c27297835d7..622cd37a0118 100644 --- a/sound/aoa/soundbus/soundbus.h +++ b/sound/aoa/soundbus/soundbus.h | |||
@@ -199,4 +199,6 @@ struct soundbus_driver { | |||
199 | extern int soundbus_register_driver(struct soundbus_driver *drv); | 199 | extern int soundbus_register_driver(struct soundbus_driver *drv); |
200 | extern void soundbus_unregister_driver(struct soundbus_driver *drv); | 200 | extern void soundbus_unregister_driver(struct soundbus_driver *drv); |
201 | 201 | ||
202 | extern struct device_attribute soundbus_dev_attrs[]; | ||
203 | |||
202 | #endif /* __SOUNDBUS_H */ | 204 | #endif /* __SOUNDBUS_H */ |