diff options
author | Joe Perches <joe@perches.com> | 2014-11-12 18:15:47 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 22:01:14 -0500 |
commit | a768851f94dbf74d07b1a86af732f142753f4071 (patch) | |
tree | 7e372f0c5d9a5562a996ab8856d5d22dbbd6db43 /net/irda/iriap.c | |
parent | 4d3c9d37f77566b04216dfc9a6513082002d7a1f (diff) |
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>
Diffstat (limited to 'net/irda/iriap.c')
-rw-r--r-- | net/irda/iriap.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/irda/iriap.c b/net/irda/iriap.c index 7a93cdd1ac31..4a7ae32afa09 100644 --- a/net/irda/iriap.c +++ b/net/irda/iriap.c @@ -43,9 +43,8 @@ #include <net/irda/iriap_event.h> #include <net/irda/iriap.h> -#ifdef CONFIG_IRDA_DEBUG /* FIXME: This one should go in irlmp.c */ -static const char *const ias_charset_types[] = { +static const char *const ias_charset_types[] __maybe_unused = { "CS_ASCII", "CS_ISO_8859_1", "CS_ISO_8859_2", @@ -58,7 +57,6 @@ static const char *const ias_charset_types[] = { "CS_ISO_8859_9", "CS_UNICODE" }; -#endif /* CONFIG_IRDA_DEBUG */ static hashbin_t *iriap = NULL; static void *service_handle; |