isdn/capi: Make verbose reporting depend on capidrv
authorPaul Bolle <pebolle@tiscali.nl>
Sun, 1 Jun 2014 21:47:24 +0000 (23:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Jun 2014 06:13:41 +0000 (23:13 -0700)
commita79f5d2612ef7ecc8728e35e31d65da7a9ab49c7
tree20196bac8fe428383743783d57fe90a1af5c03d8
parentca05e3a7551b71891d42d637d3a1e443c6bbd781
isdn/capi: Make verbose reporting depend on capidrv

The Kconfig symbol ISDN_DRV_AVMB1_VERBOSE_REASON is only used for
capi_info2str(). That function is only used in capidrv.c. So setting it
without setting ISDN_CAPI_CAPIDRV is pointless. Make it depend on
ISDN_CAPI_CAPIDRV, rename it to ISDN_CAPI_CAPIDRV_VERBOSE and put its
entry after ISDN_CAPI_CAPIDRV's entry.

Since this symbol seems to be primarily used for debugging, keep it off
by default. By now the last users of capidrv hopefully know all they
need to know about the reasons for disconnecting.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/capi/Kconfig
drivers/isdn/capi/capidrv.c