diff options
-rw-r--r-- | drivers/net/hamradio/yam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c index 4cf8f1017aad..b2d863f2ea42 100644 --- a/drivers/net/hamradio/yam.c +++ b/drivers/net/hamradio/yam.c | |||
@@ -866,7 +866,7 @@ static int yam_open(struct net_device *dev) | |||
866 | 866 | ||
867 | printk(KERN_INFO "Trying %s at iobase 0x%lx irq %u\n", dev->name, dev->base_addr, dev->irq); | 867 | printk(KERN_INFO "Trying %s at iobase 0x%lx irq %u\n", dev->name, dev->base_addr, dev->irq); |
868 | 868 | ||
869 | if (!dev || !yp->bitrate) | 869 | if (!yp->bitrate) |
870 | return -ENXIO; | 870 | return -ENXIO; |
871 | if (!dev->base_addr || dev->base_addr > 0x1000 - YAM_EXTENT || | 871 | if (!dev->base_addr || dev->base_addr > 0x1000 - YAM_EXTENT || |
872 | dev->irq < 2 || dev->irq > 15) { | 872 | dev->irq < 2 || dev->irq > 15) { |