1 // SPDX-License-Identifier: GPL-2.0 1 2 // 3 // Copyright (C) 2011 Samsung Electronics Ltd. 4 // http://www.samsung.com/ 5 6 #include <linux/gpio.h> 7 #include <linux/platform_data/spi-s3c64xx.h> 8 #include "gpio-cfg.h" 9 #include "gpio-samsung.h" 10 11 #ifdef CONFIG_S3C64XX_DEV_SPI0 12 int s3c64xx_spi0_cfg_gpio(void) 13 { 14 s3c_gpio_cfgall_range(S3C64XX_GPC(0), 15 S3C_GPIO_SFN(2 16 return 0; 17 } 18 #endif 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.