Skip to content

Commit 3c27cb6

Browse files
authored
Merge pull request #87 from Jordymalone/drop-owner
Drop .owner for kernel >= 6.4
2 parents 14346b0 + 9001de2 commit 3c27cb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vwifi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3341,7 +3341,9 @@ static struct virtio_driver virtio_vwifi = {
33413341
.feature_table = features,
33423342
.feature_table_size = ARRAY_SIZE(features),
33433343
.driver.name = KBUILD_MODNAME,
3344+
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 4, 0)
33443345
.driver.owner = THIS_MODULE,
3346+
#endif
33453347
.id_table = id_table,
33463348
.probe = vwifi_virtio_probe,
33473349
.remove = vwifi_virtio_remove,

0 commit comments

Comments
 (0)