irda: Fix build failures after IRDA_DEBUG->pr_debug
Fix the build failures that result from the use of pr_debug without the referenced char * arrays being defined. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
4d3c9d37f7
commit
a768851f94
@@ -48,8 +48,7 @@ const char *const irlsap_state[] = {
|
||||
"LSAP_SETUP_PEND",
|
||||
};
|
||||
|
||||
#ifdef CONFIG_IRDA_DEBUG
|
||||
static const char *const irlmp_event[] = {
|
||||
static const char *const irlmp_event[] __maybe_unused = {
|
||||
"LM_CONNECT_REQUEST",
|
||||
"LM_CONNECT_CONFIRM",
|
||||
"LM_CONNECT_RESPONSE",
|
||||
@@ -75,7 +74,6 @@ static const char *const irlmp_event[] = {
|
||||
"LM_LAP_DISCOVERY_CONFIRM",
|
||||
"LM_LAP_IDLE_TIMEOUT",
|
||||
};
|
||||
#endif /* CONFIG_IRDA_DEBUG */
|
||||
|
||||
/* LAP Connection control proto declarations */
|
||||
static void irlmp_state_standby (struct lap_cb *, IRLMP_EVENT,
|
||||
|
Reference in New Issue
Block a user