1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2006 Simtec Electronics 4 * Ben Dooks <ben@simtec.co.uk> 5 * 6 * S3C2410 - SPI Controller platform_device info 7 */ 8 9 #ifndef __LINUX_SPI_S3C24XX_H 10 #define __LINUX_SPI_S3C24XX_H __FILE__ 11 12 struct s3c2410_spi_info { 13 unsigned int num_cs; /* total chipselects */ 14 int bus_num; /* bus number to use. */ 15 unsigned int use_fiq:1; /* use fiq */ 16 }; 17 18 extern int s3c24xx_set_fiq(unsigned int irq, u32 *ack_ptr, bool on); 19 20 #endif /* __LINUX_SPI_S3C24XX_H */ 21