![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 // 0003 // Copyright 2008 Openmoko, Inc. 0004 // Copyright 2008 Simtec Electronics 0005 // Ben Dooks <ben@simtec.co.uk> 0006 // http://armlinux.simtec.co.uk/ 0007 // 0008 // Base S3C64XX I2C bus 1 gpio configuration 0009 0010 #include <linux/kernel.h> 0011 #include <linux/types.h> 0012 #include <linux/gpio.h> 0013 0014 struct platform_device; /* don't need the contents */ 0015 0016 #include <linux/platform_data/i2c-s3c2410.h> 0017 #include "gpio-cfg.h" 0018 #include "gpio-samsung.h" 0019 0020 void s3c_i2c1_cfg_gpio(struct platform_device *dev) 0021 { 0022 s3c_gpio_cfgall_range(S3C64XX_GPB(2), 2, 0023 S3C_GPIO_SFN(6), S3C_GPIO_PULL_UP); 0024 }
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |