frank-zago / ch341-i2c-spi-gpio

WinChipHead CH341 linux driver for I2C, SPI and GPIO mode
GNU General Public License v2.0
70 stars 29 forks source link

6.2.x kernel port #3

Closed Sfinx closed 1 year ago

Sfinx commented 1 year ago

Small fix needed:

diff --git a/ch341-core.c b/ch341-core.c
index 50c2f67..c979bea 100644
--- a/ch341-core.c
+++ b/ch341-core.c
@@ -103,6 +103,8 @@ static const struct usb_device_id ch341_usb_table[] = {
        { }
 };

+MODULE_DEVICE_TABLE(usb, ch341_usb_table);
+
 static struct usb_driver ch341_usb_driver = {
        .name       = "ch341-buses",
        .id_table   = ch341_usb_table,
frank-zago commented 1 year ago

Fixed. Thank you.