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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 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

Looks good to me.

Acked-by: Takashi Iwai <tiwai at suse.de>


thanks,

Takashi

> 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>
>  
> -- 
> 1.5.6.3
> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr at canb.auug.org.au
> http://www.canb.auug.org.au/~sfr/
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
> 




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux