mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
[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>
This commit is contained in:
parent
e5bbef20e0
commit
c749b01351
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue