diff options
Diffstat (limited to 'drivers/net/apne.c')
| -rw-r--r-- | drivers/net/apne.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/apne.c b/drivers/net/apne.c index 47a8275d3962..867f6fff543c 100644 --- a/drivers/net/apne.c +++ b/drivers/net/apne.c | |||
| @@ -127,6 +127,9 @@ struct net_device * __init apne_probe(int unit) | |||
| 127 | #endif | 127 | #endif |
| 128 | int err; | 128 | int err; |
| 129 | 129 | ||
| 130 | if (!MACH_IS_AMIGA) | ||
| 131 | return ERR_PTR(-ENODEV); | ||
| 132 | |||
| 130 | if (apne_owned) | 133 | if (apne_owned) |
| 131 | return ERR_PTR(-ENODEV); | 134 | return ERR_PTR(-ENODEV); |
| 132 | 135 | ||
