diff options
Diffstat (limited to 'kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c')
-rw-r--r-- | kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c b/kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c index 63eb19093..72ef9f936 100644 --- a/kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c +++ b/kernel/drivers/media/i2c/s5c73m3/s5c73m3-spi.c @@ -31,6 +31,7 @@ static const struct of_device_id s5c73m3_spi_ids[] = { { .compatible = "samsung,s5c73m3" }, { } }; +MODULE_DEVICE_TABLE(of, s5c73m3_spi_ids); enum spi_direction { SPI_DIR_RX, @@ -149,8 +150,6 @@ int s5c73m3_register_spi_driver(struct s5c73m3 *state) spidrv->remove = s5c73m3_spi_remove; spidrv->probe = s5c73m3_spi_probe; spidrv->driver.name = S5C73M3_SPI_DRV_NAME; - spidrv->driver.bus = &spi_bus_type; - spidrv->driver.owner = THIS_MODULE; spidrv->driver.of_match_table = s5c73m3_spi_ids; return spi_register_driver(spidrv); |