netlink: Implment netlink_broadcast_filtered
[linux/fpc-iii.git] / arch / arm / plat-s3c24xx / setup-i2c.c
blob9e90a7cbd1d6e155a32d2c9f0da9a29ce6a909f8
1 /* linux/arch/arm/plat-s3c24xx/setup-i2c.c
3 * Copyright 2008 Simtec Electronics
4 * Ben Dooks <ben@simtec.co.uk>
6 * S3C24XX Base setup for i2c device
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation.
13 #include <linux/kernel.h>
14 #include <linux/gpio.h>
16 struct platform_device;
18 #include <plat/gpio-cfg.h>
19 #include <plat/iic.h>
20 #include <mach/hardware.h>
21 #include <mach/regs-gpio.h>
23 void s3c_i2c0_cfg_gpio(struct platform_device *dev)
25 s3c_gpio_cfgpin(S3C2410_GPE(15), S3C2410_GPE15_IICSDA);
26 s3c_gpio_cfgpin(S3C2410_GPE(14), S3C2410_GPE14_IICSCL);