From: Geert Uytterhoeven Date: Sun, 6 Apr 2014 13:37:25 +0000 (+0200) Subject: staging: rts5139: Make variables inside #ifdef CONFIG_PM X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~853 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f18a27787a340b26c4f64fae8f2bb103f50b546;p=pandora-kernel.git staging: rts5139: Make variables inside #ifdef CONFIG_PM If CONFIG_PM=n: drivers/staging/rts5139/rts51x_transport.c:649: warning: ‘media_not_present’ defined but not used drivers/staging/rts5139/rts51x_transport.c:651: warning: ‘invalid_cmd_field’ defined but not used Move the variables inside the #ifdef CONFIG_PM, and make them const while we're at it. Signed-off-by: Geert Uytterhoeven Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed