Re: [PATCH] HID: nintendo: fix unused const warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Daniel J. Ogorchock" <djogorchock@xxxxxxxxx> wrote:
> JC_RUMBLE_ZERO_AMP_PKT_CNT is only used when force feedback support in
> the driver is enabled. Place the declaration in the CONFIG_NINTENDO_FF
> ifdef to avoid a warning when compiling without rumble support.
> 
> Signed-off-by: Daniel J. Ogorchock <djogorchock@xxxxxxxxx>
> ---

LGTM!

Reviewed-by: Silvan Jegen <s.jegen@xxxxxxxxx>


> [...]



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux