• Finn Thain's avatar
    macmace, macsonic: cleanup · ce43aa6c
    Finn Thain authored
    We check ether_type before registering the platform device in
    arch/m68k/mac/config.c. Doing the same test again in the driver is
    redundant so remove it.
    
    Multiple probes should not happen since the conversion to platform devices,
    so lose that test too.
    
    Then macmace.c need not include macintosh.h, so remove that and irq.h and
    include linux/interrupt.h explicitly.
    
    Tested on PowerBook 520, Quadra 660av, LC 630.
    Signed-off-by: default avatarFinn Thain <fthain@telegraphics.com.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    ce43aa6c
macsonic.c 18.5 KB