public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap: header: remove unused data-type
@ 2009-12-09 20:55 Vikram Pandita
  2009-12-10 10:10 ` Felipe Balbi
  0 siblings, 1 reply; 2+ messages in thread
From: Vikram Pandita @ 2009-12-09 20:55 UTC (permalink / raw)
  To: linux-omap; +Cc: Vikram Pandita

Remove unused data type omap_gpio_switch_config

Thereby also get rid of following sparse warnings:
arch/arm/plat-omap/include/plat/board.h :121:20:
	warning: dubious bitfield without explicit `signed' or `unsigned'
arch/arm/plat-omap/include/plat/board.h :122:19:
	warning: dubious bitfield without explicit `signed' or `unsigned'
arch/arm/plat-omap/include/plat/board.h :123:24:
	warning: dubious bitfield without explicit `signed' or `unsigned'

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
---
 arch/arm/plat-omap/include/plat/board.h |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/arch/arm/plat-omap/include/plat/board.h b/arch/arm/plat-omap/include/plat/board.h
index abb17b6..376ce18 100644
--- a/arch/arm/plat-omap/include/plat/board.h
+++ b/arch/arm/plat-omap/include/plat/board.h
@@ -114,15 +114,6 @@ struct omap_pwm_led_platform_data {
 	void (*set_power)(struct omap_pwm_led_platform_data *self, int on_off);
 };
 
-/* See arch/arm/plat-omap/include/mach/gpio-switch.h for definitions */
-struct omap_gpio_switch_config {
-	char name[12];
-	u16 gpio;
-	int flags:4;
-	int type:4;
-	int key_code:24; /* Linux key code */
-};
-
 struct omap_uart_config {
 	/* Bit field of UARTs present; bit 0 --> UART1 */
 	unsigned int enabled_uarts;
-- 
1.6.6.rc0.66.ge160d


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] omap: header: remove unused data-type
  2009-12-09 20:55 [PATCH] omap: header: remove unused data-type Vikram Pandita
@ 2009-12-10 10:10 ` Felipe Balbi
  0 siblings, 0 replies; 2+ messages in thread
From: Felipe Balbi @ 2009-12-10 10:10 UTC (permalink / raw)
  To: ext Vikram Pandita; +Cc: linux-omap@vger.kernel.org

On Wed, Dec 09, 2009 at 09:55:21PM +0100, ext Vikram Pandita wrote:
>Remove unused data type omap_gpio_switch_config
>
>Thereby also get rid of following sparse warnings:
>arch/arm/plat-omap/include/plat/board.h :121:20:
>	warning: dubious bitfield without explicit `signed' or `unsigned'
>arch/arm/plat-omap/include/plat/board.h :122:19:
>	warning: dubious bitfield without explicit `signed' or `unsigned'
>arch/arm/plat-omap/include/plat/board.h :123:24:
>	warning: dubious bitfield without explicit `signed' or `unsigned'
>
>Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>

Acked-by: Felipe Balbi <felipe.balbi@nokia.com>

-- 
balbi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-10 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09 20:55 [PATCH] omap: header: remove unused data-type Vikram Pandita
2009-12-10 10:10 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox