[alsa-devel] [PATCH] powerpc/drivers: use linux/of_device.h instead of asm/of_device.h

Stephen Rothwell sfr at canb.auug.org.au
Mon Aug 11 09:04:32 CEST 2008

Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
 drivers/hwmon/ams/ams.h       |    2 +-
 sound/aoa/soundbus/soundbus.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

These are the last two users of asm/of_device.h.  If everyone is happy,
we can put this through the powerpc tree.  I have build tested for
ppc64_defconfig and ppc6xx_defconfig (which uses the relevant drivers).

After this we can remove the include of linux/of_device.h from

diff --git a/drivers/hwmon/ams/ams.h b/drivers/hwmon/ams/ams.h
index a6221e5..221ef69 100644
--- a/drivers/hwmon/ams/ams.h
+++ b/drivers/hwmon/ams/ams.h
@@ -4,7 +4,7 @@
 #include <linux/mutex.h>
 #include <linux/spinlock.h>
 #include <linux/types.h>
-#include <asm/of_device.h>
+#include <linux/of_device.h>
 enum ams_irq {
diff --git a/sound/aoa/soundbus/soundbus.h b/sound/aoa/soundbus/soundbus.h
index 622cd37..a0f223c 100644
--- a/sound/aoa/soundbus/soundbus.h
+++ b/sound/aoa/soundbus/soundbus.h
@@ -8,7 +8,7 @@
 #ifndef __SOUNDBUS_H
 #define __SOUNDBUS_H
-#include <asm/of_device.h>
+#include <linux/of_device.h>
 #include <sound/pcm.h>
 #include <linux/list.h>

Stephen Rothwell                    sfr at canb.auug.org.au

More information about the Alsa-devel mailing list