public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix warning in arch/arm/mach-omap2/timer-gp.c
@ 2007-08-13  2:55 Kyungmin Park
  2007-08-13  8:58 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Kyungmin Park @ 2007-08-13  2:55 UTC (permalink / raw)
  To: linux-omap-open-source

Fix warning in arch/arm/mach-omap2/timer-gp.c
arch/arm/mach-omap2/timer-gp.c: In function `omap2_gp_timer_set_mode':
arch/arm/mach-omap2/timer-gp.c:89: warning: enumeration value
`CLOCK_EVT_MODE_RESUME' not handled in switch

Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>

diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c
index 8f380a1..2246435 100644
--- a/arch/arm/mach-omap2/timer-gp.c
+++ b/arch/arm/mach-omap2/timer-gp.c
@@ -84,6 +84,7 @@ static void omap2_gp_timer_set_mode(enum clock_event_mode
mode,
 		break;
 	case CLOCK_EVT_MODE_UNUSED:
 	case CLOCK_EVT_MODE_SHUTDOWN:
+	case CLOCK_EVT_MODE_RESUME:
 		break;
 	}
 }

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

* Re: [PATCH] Fix warning in arch/arm/mach-omap2/timer-gp.c
  2007-08-13  2:55 [PATCH] Fix warning in arch/arm/mach-omap2/timer-gp.c Kyungmin Park
@ 2007-08-13  8:58 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2007-08-13  8:58 UTC (permalink / raw)
  To: kmpark; +Cc: linux-omap-open-source

* Kyungmin Park <kyungmin.park@samsung.com> [070812 19:55]:
> Fix warning in arch/arm/mach-omap2/timer-gp.c
> arch/arm/mach-omap2/timer-gp.c: In function `omap2_gp_timer_set_mode':
> arch/arm/mach-omap2/timer-gp.c:89: warning: enumeration value
> `CLOCK_EVT_MODE_RESUME' not handled in switch
> 
> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
> 
> diff --git a/arch/arm/mach-omap2/timer-gp.c b/arch/arm/mach-omap2/timer-gp.c
> index 8f380a1..2246435 100644
> --- a/arch/arm/mach-omap2/timer-gp.c
> +++ b/arch/arm/mach-omap2/timer-gp.c
> @@ -84,6 +84,7 @@ static void omap2_gp_timer_set_mode(enum clock_event_mode
> mode,
>  		break;
>  	case CLOCK_EVT_MODE_UNUSED:
>  	case CLOCK_EVT_MODE_SHUTDOWN:
> +	case CLOCK_EVT_MODE_RESUME:
>  		break;
>  	}
>  }

Pushing today.

Tony

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

end of thread, other threads:[~2007-08-13  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13  2:55 [PATCH] Fix warning in arch/arm/mach-omap2/timer-gp.c Kyungmin Park
2007-08-13  8:58 ` Tony Lindgren

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