diff options
author | Pelle Nilsson <per.nilsson@xelmo.com> | 2015-04-14 15:40:17 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-18 12:01:03 +0100 |
commit | 7d0ec8b6f40b356f780b79de63eeafd6b907d68c (patch) | |
tree | 669ce3a25a14487c4dd0bb08839719e89245ca9c /drivers/spi/Kconfig | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 (diff) | |
download | linux-7d0ec8b6f40b356f780b79de63eeafd6b907d68c.tar.gz linux-7d0ec8b6f40b356f780b79de63eeafd6b907d68c.tar.bz2 linux-7d0ec8b6f40b356f780b79de63eeafd6b907d68c.zip |
spi: bitbang: Make setup_transfer() callback optional
Some controller drivers have no need of this callback (spi-altera even
causes a NULL pointer dereference because it doesn't register the callback,
falsely assuming that it is already optional).
Fixes: 30af9b558a56 ("spi/bitbang: Drop empty setup() functions")
Signed-off-by: Pelle Nilsson <per.nilsson@xelmo.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@vanguardiasur.com.ar>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions