]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ISDN]: Fix compile with CONFIG_ISDN_X25 disabled.
authorDenis V. Lunev <den@openvz.org>
Mon, 15 Oct 2007 19:52:20 +0000 (12:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Oct 2007 19:52:20 +0000 (12:52 -0700)
On Mon, Oct 15, 2007 at 06:44:56PM +0400, Denis V. Lunev wrote:
Compilation fix. The problem appears after
7c076d1de869256848dacb8de0050a3a390f95df by Karsten Keil <kkeil@suse.de>

Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/i4l/isdn_net.c

index 71ec2a8aab2a6ad89808d8bc531ffe5ca8ae72e9..b39d1f5b378e5b06f88769a6c17566f4cf94edf5 100644 (file)
@@ -2713,7 +2713,7 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg)
                case ISDN_NET_ENCAP_X25IFACE:
 #ifndef CONFIG_ISDN_X25
                        printk(KERN_WARNING "%s: isdn-x25 support not configured\n",
-                              p->local->name);
+                              p->dev->name);
                        return -EINVAL;
 #else
                        p->dev->type = ARPHRD_X25;      /* change ARP type */