All of lore.kernel.org
 help / color / mirror / Atom feed
From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/8] sound: kirkwood: move <plat/audio.h> to <linux/platform_data/kirkwood-audio.h>
Date: Tue, 28 Aug 2012 20:59:03 +0200	[thread overview]
Message-ID: <1346180349-25123-3-git-send-email-thomas.petazzoni@free-electrons.com> (raw)
In-Reply-To: <1346180349-25123-1-git-send-email-thomas.petazzoni@free-electrons.com>

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 arch/arm/mach-kirkwood/common.c              |    2 +-
 arch/arm/plat-orion/include/plat/audio.h     |    7 -------
 include/linux/platform_data/kirkwood-audio.h |    7 +++++++
 sound/soc/kirkwood/kirkwood-i2s.c            |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)
 delete mode 100644 arch/arm/plat-orion/include/plat/audio.h
 create mode 100644 include/linux/platform_data/kirkwood-audio.h

diff --git a/arch/arm/mach-kirkwood/common.c b/arch/arm/mach-kirkwood/common.c
index c4b64ad..138ba47 100644
--- a/arch/arm/mach-kirkwood/common.c
+++ b/arch/arm/mach-kirkwood/common.c
@@ -18,6 +18,7 @@
 #include <linux/clk-provider.h>
 #include <linux/spinlock.h>
 #include <linux/mv643xx_i2c.h>
+#include <linux/platform_data/kirkwood-audio.h>
 #include <net/dsa.h>
 #include <asm/page.h>
 #include <asm/timex.h>
@@ -26,7 +27,6 @@
 #include <asm/mach/time.h>
 #include <mach/kirkwood.h>
 #include <mach/bridge-regs.h>
-#include <plat/audio.h>
 #include <plat/cache-feroceon-l2.h>
 #include <plat/mvsdio.h>
 #include <plat/orion_nand.h>
diff --git a/arch/arm/plat-orion/include/plat/audio.h b/arch/arm/plat-orion/include/plat/audio.h
deleted file mode 100644
index d6a55bd..0000000
--- a/arch/arm/plat-orion/include/plat/audio.h
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __PLAT_AUDIO_H
-#define __PLAT_AUDIO_H
-
-struct kirkwood_asoc_platform_data {
-	int burst;
-};
-#endif
diff --git a/include/linux/platform_data/kirkwood-audio.h b/include/linux/platform_data/kirkwood-audio.h
new file mode 100644
index 0000000..a2c25da
--- /dev/null
+++ b/include/linux/platform_data/kirkwood-audio.h
@@ -0,0 +1,7 @@
+#ifndef __KIRKWOOD_AUDIO_PDATA_H
+#define __KIRKWOOD_AUDIO_PDATA_H
+
+struct kirkwood_asoc_platform_data {
+	int burst;
+};
+#endif
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c
index 7646dd7..c4dd2f1 100644
--- a/sound/soc/kirkwood/kirkwood-i2s.c
+++ b/sound/soc/kirkwood/kirkwood-i2s.c
@@ -21,7 +21,7 @@
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
-#include <plat/audio.h>
+#include <linux/platform_data/kirkwood-audio.h>
 #include "kirkwood.h"
 
 #define DRV_NAME	"kirkwood-i2s"
-- 
1.7.9.5

  parent reply	other threads:[~2012-08-28 18:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 18:59 arm: move plat-orion platform_data headers to the right place Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 1/8] sound: kirkwood: remove useless <plat/audio.h> include Thomas Petazzoni
2012-08-28 18:59 ` Thomas Petazzoni [this message]
2012-08-28 18:59 ` [PATCH 3/8] usb: ehci-orion: move <plat/ehci-orion.h> to <linux/platform_data/ehci-orion.h> Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 4/8] mmc: mvsdio: move <plat/mvsdio.h> to <linux/platform_data/mvsdio.h> Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 5/8] dma: mv_xor: move <plat/mv_xor.h> to <linux/platform_data/mv_xor.h> Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 6/8] mtd: orion_nand: move <plat/orion_nand.h> to <linux/platform_data/orion_nand.h> Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 7/8] i2c: mv643xx: move <linux/mv643xx_i2c.h> to <linux/platform_data/mv643xx_i2c.h> Thomas Petazzoni
2012-08-28 18:59 ` [PATCH 8/8] net: mv643xx_eth: move <linux/mv643xx_eth.h> to <linux/platform_data/mv643xx_eth.h> Thomas Petazzoni
2012-08-28 20:11 ` arm: move plat-orion platform_data headers to the right place Andrew Lunn
2012-08-28 20:25   ` Jason Cooper
2012-08-28 21:15     ` Jason Cooper
2012-08-28 21:57       ` Thomas Petazzoni
2012-08-29  0:02 ` Jason Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346180349-25123-3-git-send-email-thomas.petazzoni@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.