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.

how can i add spi1 or spi2 device in the kernel linux2.6.10 ofdm355?

I have to use spi0 and spi1 in dm355 on the same time,I have modified the davinci_spi_eeprom driver(it used spi0) to communicate a device sucessed!  but now when i wanted to add spi1 driver for another device to kernel, it didn't work! I add source as bellow:
 
static struct spi_board_info dm355_spi_board_info[] = {
.......
#if SPI_1098
{
 .modalias = "spi_1098",
 .platform_data = NULL,//&davinci_8k_spi_eeprom_info,
 .mode = SPI_MODE_0,
 .irq = 0,
 .max_speed_hz = 200*1000,//2 * 1000 * 1000 /* max sample rate at 3V */ ,
 .bus_num = 65535, 
 .chip_select = 1,
 },
#endif
........
}
 
And  i have register a spi driver spi_driver :
static struct spi_driver spidev_1098 = {
.driver = {
.name = "spi_1098",
.bus = &spi_bus_type,
.owner = THIS_MODULE,
},
.probe = spi1098_probe,
.remove = __devexit_p(spi1098_remove),
};
By the printk information, spi1098_probe cann't been call, And i only find one device (spi_eeprom) in /sys/bus/spi/devices/ ,so the driver cann't been matched!  then how can i add spi1 or spi2 device in the kernel? Any hints will been appreciated!