|
@@ -1094,8 +1094,9 @@ static int encx24j600_spi_remove(struct spi_device *spi)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static const struct spi_device_id encx24j600_spi_id_table = {
|
|
|
- .name = "encx24j600"
|
|
|
+static const struct spi_device_id encx24j600_spi_id_table[] = {
|
|
|
+ { .name = "encx24j600" },
|
|
|
+ { /* sentinel */ }
|
|
|
};
|
|
|
|
|
|
static struct spi_driver encx24j600_spi_net_driver = {
|
|
@@ -1106,7 +1107,7 @@ static struct spi_driver encx24j600_spi_net_driver = {
|
|
|
},
|
|
|
.probe = encx24j600_spi_probe,
|
|
|
.remove = encx24j600_spi_remove,
|
|
|
- .id_table = &encx24j600_spi_id_table,
|
|
|
+ .id_table = encx24j600_spi_id_table,
|
|
|
};
|
|
|
|
|
|
static int __init encx24j600_init(void)
|