lkml.org 
[lkml]   [2012]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH v2] thermal: thermal_sys: Fix build warning
Date
> From: Fabio Estevam [mailto:festevam@gmail.com]
> Sent: Sunday, January 22, 2012 10:16 PM
> To: linux-kernel@vger.kernel.org
> Cc: akpm@linux-foundation.org; guenter.roeck@ericsson.com; R, Durgadoss;
> khali@linux-fr.org; Fabio Estevam
> Subject: [PATCH v2] thermal: thermal_sys: Fix build warning
>
> Fix the following build warning:
>
> drivers/thermal/thermal_sys.c:63: warning: 'thermal_event_seqnum' defined but
> not used
>
> ,which happens when CONFIG_NET is not set.
>
> Move 'thermal_event_seqnum' definition inside the '#ifdef CONFIG_NET'
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Acked-by: Durgadoss R <durgadoss.r@intel.com>

[snip.]

Thanks,
Durga



\
 
 \ /
  Last update: 2012-01-23 03:59    [W:0.098 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site