summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-10-29 19:07:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-10-29 19:07:23 +0100
commitd052d1beff706920e82c5d55006b08e256b5df09 (patch)
treedac91b70361b405ab8e15207f514a2f3e991e93d /sound
parent8a212ab6b8a4ccc6f3c3d1beba5f92655c576404 (diff)
downloadlinux-d052d1beff706920e82c5d55006b08e256b5df09.tar.gz
linux-d052d1beff706920e82c5d55006b08e256b5df09.tar.bz2
linux-d052d1beff706920e82c5d55006b08e256b5df09.zip
Create platform_device.h to contain all the platform device details.
Convert everyone who uses platform_bus_type to include linux/platform_device.h. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/arm/pxa2xx-ac97.c2
-rw-r--r--sound/core/init.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sound/arm/pxa2xx-ac97.c b/sound/arm/pxa2xx-ac97.c
index 877bb00d3295..d1f9da498729 100644
--- a/sound/arm/pxa2xx-ac97.c
+++ b/sound/arm/pxa2xx-ac97.c
@@ -13,7 +13,7 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
-#include <linux/device.h>
+#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/delay.h>
diff --git a/sound/core/init.c b/sound/core/init.c
index 59202de1d2ce..41e224986f35 100644
--- a/sound/core/init.c
+++ b/sound/core/init.c
@@ -28,6 +28,8 @@
#include <linux/ctype.h>
#include <linux/pci.h>
#include <linux/pm.h>
+#include <linux/platform_device.h>
+
#include <sound/core.h>
#include <sound/control.h>
#include <sound/info.h>