Skip to content

Commit

Permalink
Add driver version
Browse files Browse the repository at this point in the history
  • Loading branch information
allanbian1017 committed Oct 6, 2017
1 parent df04f83 commit 6708298
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion i2c-ch341-usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include <linux/usb.h>
#include <linux/i2c.h>

#define DRV_VERSION "1.0"

#define CH341_I2C_LOW_SPEED 0 // low speed - 20kHz
#define CH341_I2C_STANDARD_SPEED 1 // standard speed - 100kHz
#define CH341_I2C_FAST_SPEED 2 // fast speed - 400kHz
Expand Down Expand Up @@ -278,5 +280,6 @@ module_usb_driver(i2c_ch341_usb_driver);
/* ----- end of usb layer ------------------------------------------------ */

MODULE_AUTHOR("Tse Lun Bien <[email protected]>");
MODULE_DESCRIPTION("i2c-ch341-usb driver v1.0");
MODULE_DESCRIPTION("i2c-ch341-usb driver");
MODULE_LICENSE("GPL");
MODULE_VERSION(DRV_VERSION);

0 comments on commit 6708298

Please sign in to comment.