diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/spi/spi.h | 2 | ||||
-rw-r--r-- | include/linux/spi/spi_bitbang.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h index 851b25d6e82b..9d8d63109a8f 100644 --- a/include/linux/spi/spi.h +++ b/include/linux/spi/spi.h | |||
@@ -220,7 +220,7 @@ struct spi_master { | |||
220 | struct spi_message *mesg); | 220 | struct spi_message *mesg); |
221 | 221 | ||
222 | /* called on release() to free memory provided by spi_master */ | 222 | /* called on release() to free memory provided by spi_master */ |
223 | void (*cleanup)(const struct spi_device *spi); | 223 | void (*cleanup)(struct spi_device *spi); |
224 | }; | 224 | }; |
225 | 225 | ||
226 | static inline void *spi_master_get_devdata(struct spi_master *master) | 226 | static inline void *spi_master_get_devdata(struct spi_master *master) |
diff --git a/include/linux/spi/spi_bitbang.h b/include/linux/spi/spi_bitbang.h index 16ce178f54d7..2e8c048b9b80 100644 --- a/include/linux/spi/spi_bitbang.h +++ b/include/linux/spi/spi_bitbang.h | |||
@@ -55,7 +55,7 @@ struct spi_bitbang { | |||
55 | * methods, if you like. | 55 | * methods, if you like. |
56 | */ | 56 | */ |
57 | extern int spi_bitbang_setup(struct spi_device *spi); | 57 | extern int spi_bitbang_setup(struct spi_device *spi); |
58 | extern void spi_bitbang_cleanup(const struct spi_device *spi); | 58 | extern void spi_bitbang_cleanup(struct spi_device *spi); |
59 | extern int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m); | 59 | extern int spi_bitbang_transfer(struct spi_device *spi, struct spi_message *m); |
60 | extern int spi_bitbang_setup_transfer(struct spi_device *spi, | 60 | extern int spi_bitbang_setup_transfer(struct spi_device *spi, |
61 | struct spi_transfer *t); | 61 | struct spi_transfer *t); |