summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/setup-i2c0.c
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2010-05-18 12:23:35 +0200
committerBen Dooks <ben-linux@fluff.org>2010-05-19 18:16:04 +0900
commita0f735812e9ffb65fa4c8a16975f5b63909fb447 (patch)
treee768dd697961173868507a41dc7165c127c8cda5 /arch/arm/mach-s5pv210/setup-i2c0.c
parent838c6d499b780c42fccbbdfecc0f5dcc471d0ef3 (diff)
downloadblackbird-op-linux-a0f735812e9ffb65fa4c8a16975f5b63909fb447.tar.gz
blackbird-op-linux-a0f735812e9ffb65fa4c8a16975f5b63909fb447.zip
ARM: SAMSUNG: Copy common I2C0 device helpers to machine directories
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s5pv210/setup-i2c0.c')
-rw-r--r--arch/arm/mach-s5pv210/setup-i2c0.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/setup-i2c0.c b/arch/arm/mach-s5pv210/setup-i2c0.c
new file mode 100644
index 000000000000..9ec6845840e5
--- /dev/null
+++ b/arch/arm/mach-s5pv210/setup-i2c0.c
@@ -0,0 +1,25 @@
+/* linux/arch/arm/mach-s5pv210/setup-i2c0.c
+ *
+ * Copyright (c) 2009 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com/
+ *
+ * I2C0 GPIO configuration.
+ *
+ * Based on plat-s3c64xx/setup-i2c0.c
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#include <linux/kernel.h>
+#include <linux/types.h>
+
+struct platform_device; /* don't need the contents */
+
+#include <plat/iic.h>
+
+void s3c_i2c0_cfg_gpio(struct platform_device *dev)
+{
+ /* Will be populated later */
+}
OpenPOWER on IntegriCloud