]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
macintosh/via-pmu68k: Don't load driver on unsupported hardware
authorFinn Thain <fthain@telegraphics.com.au>
Mon, 2 Jul 2018 08:21:19 +0000 (04:21 -0400)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 31 Jul 2018 09:56:42 +0000 (19:56 +1000)
commit54c990775f78113a708f24e15877f6b7bd9a1277
tree792988c58db7653ee6dd8b84ff1eee67903df36a
parentc2f028b6a0b241d1b18d8d0ebcb13d21659dcfe7
macintosh/via-pmu68k: Don't load driver on unsupported hardware

Don't load the via-pmu68k driver on early PowerBooks. The M50753 PMU
device found in those models was never supported by this driver.
Attempting to load the driver usually causes a boot hang.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/m68k/mac/misc.c
drivers/macintosh/via-pmu68k.c
include/uapi/linux/pmu.h