isdn/capi: make reset_ctr op truly optional
authorTilman Schmidt <tilman@imap.cc>
Sun, 23 May 2010 01:02:08 +0000 (01:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:44 +0000 (23:57 -0700)
The CAPI controller operation reset_ctr is marked as optional, and
not all drivers do implement it. Add a check to the kernel CAPI
whether it exists before trying to call it.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Acked-by: Karsten Keil <isdn@linux-pingi.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found