aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/spi/mc33880.h
diff options
context:
space:
mode:
authorRichard Röjfors <richard.rojfors.ext@mocean-labs.com>2009-09-22 16:46:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:46 -0700
commit1e5db00687c1ebd93a902caf1d3694209013cb3e (patch)
tree41043a4a38fc2f36d92fe20559cb5ada85228465 /include/linux/spi/mc33880.h
parentgpiolib: allow exported GPIO nodes to be named using sysfs links (diff)
downloadlinux-dev-1e5db00687c1ebd93a902caf1d3694209013cb3e.tar.xz
linux-dev-1e5db00687c1ebd93a902caf1d3694209013cb3e.zip
gpio: add MC33880 driver
A GPIO driver for the Freescale MC33880 High/Low side switch Signed-off-by: Richard Röjfors <richard.rojfors.ext@mocean-labs.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>
Diffstat (limited to 'include/linux/spi/mc33880.h')
-rw-r--r--include/linux/spi/mc33880.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/spi/mc33880.h b/include/linux/spi/mc33880.h
new file mode 100644
index 000000000000..82ffccd6fbe5
--- /dev/null
+++ b/include/linux/spi/mc33880.h
@@ -0,0 +1,10 @@
+#ifndef LINUX_SPI_MC33880_H
+#define LINUX_SPI_MC33880_H
+
+struct mc33880_platform_data {
+ /* number assigned to the first GPIO */
+ unsigned base;
+};
+
+#endif
+