In kernel/arch/arm/mach-omap2/board-am335xevm.c
Change .modalias value to spidev in spi_board_info structure for spi0 or api1.
In kernel/arch/arm/configs/am335x_evm_android_defconfig
Comment out CONFIG_SPI_SPIDEV =y
Compile kernel and filesystem
Change .modalias value to spidev in spi_board_info structure for spi0 or api1.
In kernel/arch/arm/configs/am335x_evm_android_defconfig
Comment out CONFIG_SPI_SPIDEV =y
Compile kernel and filesystem