[POWERPC] Avoid NULL pointer in gpio1_interrupt
commit61e37ca22b717a9edc3e5e7c7f3603fad464c76d
authorOlaf Hering <olaf@aepfle.de>
Tue, 26 Sep 2006 20:28:36 +0000 (26 22:28 +0200)
committerPaul Mackerras <paulus@samba.org>
Mon, 2 Oct 2006 10:27:26 +0000 (2 20:27 +1000)
treeac2dda163316109a98724c517241b36c5d76f959
parenta8ed4f7ec3aa472134d7de6176f823b2667e450b
[POWERPC] Avoid NULL pointer in gpio1_interrupt

gpio1_interrupt() may dereference a NULL pointer if ioremap() fails.
But, maybe no gpio interrupt happens in the first place?

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/macintosh/via-pmu.c