Guennadi Liakhovetski | 689551c | 2009-02-06 10:37:41 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2009 |
| 3 | * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de> |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Guennadi Liakhovetski | 689551c | 2009-02-06 10:37:41 +0100 | [diff] [blame] | 6 | */ |
| 7 | #ifndef _S6E63D6_H_ |
| 8 | #define _S6E63D6_H_ |
| 9 | |
| 10 | struct s6e63d6 { |
| 11 | unsigned int bus; |
| 12 | unsigned int cs; |
| 13 | unsigned int id; |
| 14 | struct spi_slave *slave; |
| 15 | }; |
| 16 | |
| 17 | extern int s6e63d6_init(struct s6e63d6 *data); |
| 18 | extern int s6e63d6_index(struct s6e63d6 *data, u8 idx); |
| 19 | extern int s6e63d6_param(struct s6e63d6 *data, u16 param); |
| 20 | |
| 21 | #endif |