git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ath5k: kill tasklets on shutdown
[pandora-kernel.git]
/
drivers
/
net
/
apne.c
diff --git
a/drivers/net/apne.c
b/drivers/net/apne.c
index
47a8275
..
867f6ff
100644
(file)
--- a/
drivers/net/apne.c
+++ b/
drivers/net/apne.c
@@
-127,6
+127,9
@@
struct net_device * __init apne_probe(int unit)
#endif
int err;
+ if (!MACH_IS_AMIGA)
+ return ERR_PTR(-ENODEV);
+
if (apne_owned)
return ERR_PTR(-ENODEV);