m68k: macide doesnt check for Mac
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 18 May 2008 18:47:14 +0000 (20:47 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 18 May 2008 20:28:49 +0000 (13:28 -0700)
commit3ce92a2a7b03dae6b7778e2a5ff52f2042512887
treebfb0e307e34dd9791f1984a806ba2c1746cfaaf3
parent3f365e8ee90bf835553ea964ba5accf5b8ba4070
m68k: macide doesnt check for Mac

The Macintosh IDE driver (macide) doesn't check whether it's actually running
on Mac hardware, causing a crash if it isn't.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/ide/legacy/macide.c