diff options
-rw-r--r-- | drivers/net/irda/nsc-ircc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/irda/nsc-ircc.c b/drivers/net/irda/nsc-ircc.c index 83141a3ff546..9aa074b44dd3 100644 --- a/drivers/net/irda/nsc-ircc.c +++ b/drivers/net/irda/nsc-ircc.c | |||
@@ -207,7 +207,7 @@ static int __init nsc_ircc_init(void) | |||
207 | /* Register with PnP subsystem to detect disable ports */ | 207 | /* Register with PnP subsystem to detect disable ports */ |
208 | ret = pnp_register_driver(&nsc_ircc_pnp_driver); | 208 | ret = pnp_register_driver(&nsc_ircc_pnp_driver); |
209 | 209 | ||
210 | if (ret >= 0) | 210 | if (!ret) |
211 | pnp_registered = 1; | 211 | pnp_registered = 1; |
212 | 212 | ||
213 | ret = -ENODEV; | 213 | ret = -ENODEV; |