From: Denis V. Lunev Date: Mon, 15 Oct 2007 19:52:20 +0000 (-0700) Subject: [ISDN]: Fix compile with CONFIG_ISDN_X25 disabled. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c749b01351d249a924d1dd061dd1431bd3ad0579;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Acked-by: Karsten Keil Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- diff --git a/drivers/isdn/i4l/isdn_net.c b/drivers/isdn/i4l/isdn_net.c index 71ec2a8aab2a..b39d1f5b378e 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 */