spi: spi-mem: export spi_mem_default_supports_op()
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Mon, 1 Apr 2019 07:59:00 +0000 (13:29 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:23:54 +0000 (11:23 +0700)
commit46109648052fe778c75f199d72255c899578d6f7
treee00a3270e000148c310cda0d5f81ee7b74c41c72
parent5a4df21e83710dea9c6c4636f3183090b018cbcc
spi: spi-mem: export spi_mem_default_supports_op()

Export spi_mem_default_supports_op(), so that controller drivers
can use this.
spi-mem driver already exports this using EXPORT_SYMBOL,
but not declared it in spi-mem.h.
This patch declares spi_mem_default_supports_op() in spi-mem.h and
also removes the static from the function prototype.

Signed-off-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-mem.c
include/linux/spi/spi-mem.h