]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/mISDN/layer1.c
mISDN: Use struct device name field
[linux-2.6-omap-h63xx.git] / drivers / isdn / mISDN / layer1.c
index fced1a2755f88dea2709273c3448d86be7b1b33b..e826eeb1ecec58a45ef7483df0bb55599a2fbe7c 100644 (file)
 
 #include <linux/module.h>
 #include <linux/mISDNhw.h>
+#include "core.h"
 #include "layer1.h"
 #include "fsm.h"
 
-static int *debug;
+static u_int *debug;
 
 struct layer1 {
        u_long                  Flags;
@@ -100,7 +101,7 @@ l1m_debug(struct FsmInst *fi, char *fmt, ...)
        va_list va;
 
        va_start(va, fmt);
-       printk(KERN_DEBUG "%s: ", l1->dch->dev.name);
+       printk(KERN_DEBUG "%s: ", dev_name(&l1->dch->dev.dev));
        vprintk(fmt, va);
        printk("\n");
        va_end(va);