]> err.no Git - linux-2.6/commit
sm501: gpio dynamic registration for PCI devices
authorArnaud Patard <apatard@mandriva.com>
Fri, 25 Jul 2008 08:46:00 +0000 (01:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 25 Jul 2008 17:53:30 +0000 (10:53 -0700)
commit60e540d617b40eb3d37f1dd99c97af588ff9b70b
treef4887d37cb8e21ffa86abf43d489fdd4c426d734
parentf61be273d3699d174bc1438e6804f9f9e52bb932
sm501: gpio dynamic registration for PCI devices

The SM501 PCI card requires a dyanmic gpio allocation as the number of
cards is not known at compile time.  Fixup the platform data and
registration to deal with this.

Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Arnaud Patard <apatard@mandriva.com>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/sm501.c
include/linux/sm501.h