This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SPI regestration in Linux Kernel

Hi,

I am doing a project which needs one spi out and it will be connected to a slave chip,. My board is pandaboard, and I compiled uboot and 3.2 linux kernel, now it is working. But the problem now is when I went to the file of Boad_omap4panda.c under the folder arch/arm/mach-omap2, and did the following changes, there is no /dev/spi things like that meaning that I am not able to access it. Could someone help me ?? thanks

#include <plat/mcspi.h>
#include <linux/spi/spi.h>
static struct spi_board_info panda_spi_board_info[] __initdata = { 
{
.modalias = "testtttt",
.bus_num = 1,
.chip_select = 0,
.max_speed_hz = 24000000,
.mode = SPI_MODE_1,
.irq = -1,

},
};

spi_register_board_info(panda_spi_board_info, 
ARRAY_SIZE(panda_spi_board_info)); //this function is called in the omap4_panda_init