mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
spi: export the spi_register_board_info for ko [1/1]
PD#SWPL-9815 Problem: spi_register_board_info's export has been removed in kernel 4.9, but TV need to use it in ko. Solution: package it in a new dirspi_register_board_info and export Verify: T312 Change-Id: Ic7e5d8cef6840551e2925eda6162156320877833 Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
This commit is contained in:
@@ -726,6 +726,12 @@ void dirspi_stop(struct spi_device *spi)
|
||||
}
|
||||
EXPORT_SYMBOL(dirspi_stop);
|
||||
|
||||
int dirspi_register_board_info(struct spi_board_info const *info,
|
||||
unsigned int n)
|
||||
{
|
||||
return spi_register_board_info(info, n);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(dirspi_register_board_info);
|
||||
|
||||
/* setting clock and pinmux here */
|
||||
static int spicc_setup(struct spi_device *spi)
|
||||
|
||||
Reference in New Issue
Block a user