[ARM] 3775/1: S3C24XX: do not add same sysdev_driver to two classes
authorBen Dooks <ben-linux@fluff.org>
Sat, 9 Sep 2006 18:44:50 +0000 (19:44 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 9 Sep 2006 18:44:50 +0000 (19:44 +0100)
commit189e74ee9c18a5440511c5af525377c609d6ebbd
tree7c7e85d3ae869af30c2aaa2e8318015cdead02a5
parent3142afb568d266765bde94f90b0dfee7e5cb08ce
[ARM] 3775/1: S3C24XX: do not add same sysdev_driver to two classes

Patch from Ben Dooks

The s3c244x-irq.c code makes the mistake of adding
the same drive to two different sys-classes. This
causes the class lists to become corrupted and the
suspend code to OOPS.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/s3c244x-irq.c