Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/timer.h>
#include <linux/init.h>
#include <linux/serial_core.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/dma-mapping.h>
#include <linux/fb.h>
#include <linux/gfp.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
#include <linux/mtd/partitions.h>
#include <linux/mmc/host.h>
#include <linux/ioport.h>
#include <linux/platform_data/s3c-hsudc.h>
#include <linux/platform_data/s3c-hsotg.h>
#include <media/s5p_hdmi.h>
#include <asm/irq.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/irq.h>
#include <mach/hardware.h>
#include <mach/dma.h>
#include <mach/irqs.h>
#include <mach/map.h>
#include <plat/cpu.h>
#include <plat/devs.h>
#include <plat/adc.h>
#include <linux/platform_data/ata-samsung_cf.h>
#include <linux/platform_data/usb-ehci-s5p.h>
#include <plat/fb.h>
#include <plat/fb-s3c2410.h>
#include <plat/hdmi.h>
#include <linux/platform_data/hwmon-s3c.h>
#include <linux/platform_data/i2c-s3c2410.h>
#include <plat/keypad.h>
#include <linux/platform_data/mmc-s3cmci.h>
#include <linux/platform_data/mtd-nand-s3c2410.h>
#include <plat/sdhci.h>
#include <linux/platform_data/touchscreen-s3c2410.h>
#include <linux/platform_data/usb-s3c2410_udc.h>
#include <linux/platform_data/usb-ohci-s3c2410.h>
#include <plat/usb-phy.h>
#include <plat/regs-iic.h>
#include <plat/regs-serial.h>
#include <plat/regs-spi.h>
#include <linux/platform_data/spi-s3c64xx.h>
Go to the source code of this file.
Functions | |
void __init | s3c_i2c0_set_platdata (struct s3c2410_platform_i2c *pd) |
Variables | |
struct platform_device | samsung_asoc_dma |
struct platform_device | samsung_asoc_idma |
struct platform_device | s3c_device_i2c0 |
struct s3c2410_platform_i2c default_i2c_data | __initdata |
void __init s3c_i2c0_set_platdata | ( | struct s3c2410_platform_i2c * | i2c | ) |
s3c_i2c0_set_platdata - set platform data for i2c0 device : The platform data to set, or NULL for default data.
Register the given platform data for use with the i2c0 device. This call copies the platform data, so the caller can use __initdata for their copy.
This call will set cfg_gpio if is null to the default platform implementation.
Any user of s3c_device_i2c0 should call this, even if it is with NULL to ensure that the device is given the default platform data as the driver will no longer carry defaults.
struct s3c2410_platform_i2c default_i2c_data __initdata |
struct platform_device s3c_device_i2c0 |
struct platform_device samsung_asoc_dma |
struct platform_device samsung_asoc_idma |