From: Igor Grinberg <grinberg@compulab.co.il> To: Tony Lindgren <tony@atomide.com> Cc: Kevin Hilman <khilman@ti.com>, Paul Walmsley <paul@pwsan.com>, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Igor Grinberg <grinberg@compulab.co.il> Subject: [PATCH 8/9] ARM: OMAP: move debug_card_init() function Date: Wed, 29 Aug 2012 02:18:56 +0300 [thread overview] Message-ID: <1346195937-6383-9-git-send-email-grinberg@compulab.co.il> (raw) In-Reply-To: <1346195937-6383-1-git-send-email-grinberg@compulab.co.il> debug_card_init() function resides in the plat/board.h file. Move it to a separate header file under plat/ so the board.h file can be removed. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> --- arch/arm/mach-omap2/board-h4.c | 2 +- arch/arm/plat-omap/include/plat/board.h | 5 ----- arch/arm/plat-omap/include/plat/debug-devices.h | 9 +++++++++ 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 arch/arm/plat-omap/include/plat/debug-devices.h diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index ace2048..5be30e6 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -32,11 +32,11 @@ #include <asm/mach/arch.h> #include <asm/mach/map.h> -#include <plat/board.h> #include "common.h" #include <plat/menelaus.h> #include <plat/dma.h> #include <plat/gpmc.h> +#include <plat/debug-devices.h> #include <video/omapdss.h> #include <video/omap-panel-generic-dpi.h> diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index 2ddc198..d92f1b5 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h @@ -10,9 +10,4 @@ #ifndef _OMAP_BOARD_H #define _OMAP_BOARD_H -#include <linux/types.h> - -/* for TI reference platforms sharing the same debug card */ -extern int debug_card_init(u32 addr, unsigned gpio); - #endif diff --git a/arch/arm/plat-omap/include/plat/debug-devices.h b/arch/arm/plat-omap/include/plat/debug-devices.h new file mode 100644 index 0000000..a4edbd2 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/debug-devices.h @@ -0,0 +1,9 @@ +#ifndef _OMAP_DEBUG_DEVICES_H +#define _OMAP_DEBUG_DEVICES_H + +#include <linux/types.h> + +/* for TI reference platforms sharing the same debug card */ +extern int debug_card_init(u32 addr, unsigned gpio); + +#endif -- 1.7.8.6
WARNING: multiple messages have this Message-ID (diff)
From: grinberg@compulab.co.il (Igor Grinberg) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/9] ARM: OMAP: move debug_card_init() function Date: Wed, 29 Aug 2012 02:18:56 +0300 [thread overview] Message-ID: <1346195937-6383-9-git-send-email-grinberg@compulab.co.il> (raw) In-Reply-To: <1346195937-6383-1-git-send-email-grinberg@compulab.co.il> debug_card_init() function resides in the plat/board.h file. Move it to a separate header file under plat/ so the board.h file can be removed. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> --- arch/arm/mach-omap2/board-h4.c | 2 +- arch/arm/plat-omap/include/plat/board.h | 5 ----- arch/arm/plat-omap/include/plat/debug-devices.h | 9 +++++++++ 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 arch/arm/plat-omap/include/plat/debug-devices.h diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index ace2048..5be30e6 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c @@ -32,11 +32,11 @@ #include <asm/mach/arch.h> #include <asm/mach/map.h> -#include <plat/board.h> #include "common.h" #include <plat/menelaus.h> #include <plat/dma.h> #include <plat/gpmc.h> +#include <plat/debug-devices.h> #include <video/omapdss.h> #include <video/omap-panel-generic-dpi.h> diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h index 2ddc198..d92f1b5 100644 --- a/arch/arm/plat-omap/include/plat/board.h +++ b/arch/arm/plat-omap/include/plat/board.h @@ -10,9 +10,4 @@ #ifndef _OMAP_BOARD_H #define _OMAP_BOARD_H -#include <linux/types.h> - -/* for TI reference platforms sharing the same debug card */ -extern int debug_card_init(u32 addr, unsigned gpio); - #endif diff --git a/arch/arm/plat-omap/include/plat/debug-devices.h b/arch/arm/plat-omap/include/plat/debug-devices.h new file mode 100644 index 0000000..a4edbd2 --- /dev/null +++ b/arch/arm/plat-omap/include/plat/debug-devices.h @@ -0,0 +1,9 @@ +#ifndef _OMAP_DEBUG_DEVICES_H +#define _OMAP_DEBUG_DEVICES_H + +#include <linux/types.h> + +/* for TI reference platforms sharing the same debug card */ +extern int debug_card_init(u32 addr, unsigned gpio); + +#endif -- 1.7.8.6
next prev parent reply other threads:[~2012-08-28 23:19 UTC|newest] Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-28 23:18 [PATCH 0/9] ARM: OMAP: cleanup plat/board.h file Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 1/9] ARM: OMAP: cleanup struct omap_board_config_kernel Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 2/9] ARM: OMAP: omap3evm: cleanup revision bits Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 3/9] ARM: OMAP: remove the sti console workaround Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 4/9] ARM: OMAP1: remove the crystal type tag parsing Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 5/9] ARM: OMAP: remove the omap custom tags Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 6/9] ARM: OMAP1: move omap1_bl pdata out of arch/arm/* Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-29 15:04 ` Tomi Valkeinen 2012-08-29 15:04 ` Tomi Valkeinen 2012-08-29 15:04 ` Tomi Valkeinen 2012-08-29 21:42 ` Igor Grinberg 2012-08-29 21:42 ` Igor Grinberg 2012-08-29 21:42 ` Igor Grinberg 2012-08-28 23:18 ` [PATCH 7/9] ARM: OMAP1: move lcd " Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-29 15:06 ` Tomi Valkeinen 2012-08-29 15:06 ` Tomi Valkeinen 2012-08-28 23:18 ` Igor Grinberg [this message] 2012-08-28 23:18 ` [PATCH 8/9] ARM: OMAP: move debug_card_init() function Igor Grinberg 2012-08-28 23:18 ` [PATCH 9/9] ARM: OMAP: remove plat/board.h file Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:18 ` Igor Grinberg 2012-08-28 23:58 ` Chris Ball 2012-08-28 23:58 ` Chris Ball 2012-08-28 23:58 ` Chris Ball 2012-08-30 18:55 ` [PATCH 0/9] ARM: OMAP: cleanup " Tony Lindgren 2012-08-30 18:55 ` Tony Lindgren
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=1346195937-6383-9-git-send-email-grinberg@compulab.co.il \ --to=grinberg@compulab.co.il \ --cc=khilman@ti.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ --cc=paul@pwsan.com \ --cc=tony@atomide.com \ /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: linkBe 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.