File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2116,6 +2116,7 @@ static struct virtio_device_id id_table[] = {
2116
2116
{ VIRTIO_ID_CONSOLE , VIRTIO_DEV_ANY_ID },
2117
2117
{ 0 },
2118
2118
};
2119
+ MODULE_DEVICE_TABLE (virtio , id_table );
2119
2120
2120
2121
static unsigned int features [] = {
2121
2122
VIRTIO_CONSOLE_F_SIZE ,
@@ -2128,6 +2129,7 @@ static struct virtio_device_id rproc_serial_id_table[] = {
2128
2129
#endif
2129
2130
{ 0 },
2130
2131
};
2132
+ MODULE_DEVICE_TABLE (virtio , rproc_serial_id_table );
2131
2133
2132
2134
static unsigned int rproc_serial_features [] = {
2133
2135
};
@@ -2280,6 +2282,5 @@ static void __exit fini(void)
2280
2282
module_init (init );
2281
2283
module_exit (fini );
2282
2284
2283
- MODULE_DEVICE_TABLE (virtio , id_table );
2284
2285
MODULE_DESCRIPTION ("Virtio console driver" );
2285
2286
MODULE_LICENSE ("GPL" );
You can’t perform that action at this time.
0 commit comments