summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/sc/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/sc/event.c')
-rw-r--r--drivers/isdn/sc/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/sc/event.c b/drivers/isdn/sc/event.c
index 5b8c7c1a766..57367325ef0 100644
--- a/drivers/isdn/sc/event.c
+++ b/drivers/isdn/sc/event.c
@@ -45,8 +45,10 @@ int indicate_status(int card, int event,ulong Channel,char *Data)
{
isdn_ctrl cmd;
+#ifdef DEBUG
pr_debug("%s: Indicating event %s on Channel %d\n",
sc_adapter[card]->devicename, events[event-256], Channel);
+#endif
if (Data != NULL){
pr_debug("%s: Event data: %s\n", sc_adapter[card]->devicename,
Data);