summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2007-10-15 12:52:20 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-15 12:52:20 -0700
commitc749b01351d249a924d1dd061dd1431bd3ad0579 (patch)
treea6088c0eb97bb2da52f648d115c561ca83040fa9 /drivers/isdn
parente5bbef20e017efcb10700398cc048c49b98628e0 (diff)
downloadop-kernel-dev-c749b01351d249a924d1dd061dd1431bd3ad0579.zip
op-kernel-dev-c749b01351d249a924d1dd061dd1431bd3ad0579.tar.gz
[ISDN]: Fix compile with CONFIG_ISDN_X25 disabled.
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>
Diffstat (limited to 'drivers/isdn')
-rw-r--r--drivers/isdn/i4l/isdn_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c
index 71ec2a8..b39d1f5 100644
--- a/drivers/isdn/i4l/isdn_net.c
+++ b/drivers/isdn/i4l/isdn_net.c
@@ -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 */
OpenPOWER on IntegriCloud