Re: [PATCH 2/2] hid: add PM support to PicoLCD device

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Bruno Prémont
Date: Tuesday, April 27, 2010 - 1:16 pm

On Tue, 27 April 2010 Jiri Kosina <jkosina@suse.cz> wrote:

Yeah, I could drop the #else branch (of #ifconfig CONFIG_PM).

Is gcc quiet about defined but unused static inline functions?
It's in order to avoid those warnings that I used #define bla().
(same in other occasions of stubs returning void.

Might be I forgot the inline keyword for the case I got the warning
about defined but unused function. Will check tomorrow.


Thats in the case where CONFIG_HID_PICOLCD_BACKLIGHT is not defined.
c.f. the #else at the beginning of this quote.


Thanks,
Bruno
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] hid: add PM support to PicoLCD device, Bruno Prémont, (Sun Apr 25, 12:43 pm)
Re: [PATCH 2/2] hid: add PM support to PicoLCD device, Jiri Kosina, (Tue Apr 27, 6:28 am)
Re: [PATCH 2/2] hid: add PM support to PicoLCD device, Bruno Prémont, (Tue Apr 27, 1:16 pm)
Re: [PATCH 2/2] hid: add PM support to PicoLCD device, Jiri Kosina, (Tue Apr 27, 1:57 pm)