1 From 0ebe3f2429da9162e658f4571727a45e1eaf2340 Mon Sep 17 00:00:00 2001
2 From: Steve Sakoman <sakoman@gmail.com>
3 Date: Tue, 15 Dec 2009 15:17:44 -0800
4 Subject: [PATCH 17/30] drivers: net: smsc911x: return ENODEV if device is not found
6 Signed-off-by: Steve Sakoman <sakoman@gmail.com>
8 drivers/net/smsc911x.c | 4 +++-
9 1 files changed, 3 insertions(+), 1 deletions(-)
11 diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c
12 index 494cd91..2472cb0 100644
13 --- a/drivers/net/smsc911x.c
14 +++ b/drivers/net/smsc911x.c
15 @@ -2021,8 +2021,10 @@ static int __devinit smsc911x_drv_probe(struct platform_device *pdev)
18 retval = smsc911x_init(dev);
25 /* configure irq polarity and type before connecting isr */
26 if (pdata->config.irq_polarity == SMSC911X_IRQ_POLARITY_ACTIVE_HIGH)