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

Jean Delvare khali at linux-fr.org
Mon Aug 11 09:25:17 CEST 2008


On Mon, 11 Aug 2008 17:04:32 +1000, Stephen Rothwell wrote:
> 
> 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
> asm/of_device.h
> 
> 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 {
>  	AMS_IRQ_FREEFALL = 0x01,
> 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>
>  

No objection from me, go ahead.

-- 
Jean Delvare


More information about the Alsa-devel mailing list