diff options
author | Denis V. Lunev <den@openvz.org> | 2007-10-15 15:52:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-15 15:52:20 -0400 |
commit | c749b01351d249a924d1dd061dd1431bd3ad0579 (patch) | |
tree | a6088c0eb97bb2da52f648d115c561ca83040fa9 /drivers/isdn | |
parent | e5bbef20e017efcb10700398cc048c49b98628e0 (diff) |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
2713 | case ISDN_NET_ENCAP_X25IFACE: | 2713 | case ISDN_NET_ENCAP_X25IFACE: |
2714 | #ifndef CONFIG_ISDN_X25 | 2714 | #ifndef CONFIG_ISDN_X25 |
2715 | printk(KERN_WARNING "%s: isdn-x25 support not configured\n", | 2715 | printk(KERN_WARNING "%s: isdn-x25 support not configured\n", |
2716 | p->local->name); | 2716 | p->dev->name); |
2717 | return -EINVAL; | 2717 | return -EINVAL; |
2718 | #else | 2718 | #else |
2719 | p->dev->type = ARPHRD_X25; /* change ARP type */ | 2719 | p->dev->type = ARPHRD_X25; /* change ARP type */ |