RE: [PATCH v2] thermal: thermal_sys: Fix build warning

From: R, Durgadoss
Date: Sun Jan 22 2012 - 21:57:40 EST


> From: Fabio Estevam [mailto:festevam@xxxxxxxxx]
> Sent: Sunday, January 22, 2012 10:16 PM
> To: linux-kernel@xxxxxxxxxxxxxxx
> Cc: akpm@xxxxxxxxxxxxxxxxxxxx; guenter.roeck@xxxxxxxxxxxx; R, Durgadoss;
> khali@xxxxxxxxxxxx; 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@xxxxxxxxxxxxx>

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

[snip.]

Thanks,
Durga

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/