diff options
| -rw-r--r-- | src/tmt248/hid-tmt248.c | 9 | ||||
| -rw-r--r-- | src/tmtsxw/hid-tmtsxw.c | 9 | ||||
| -rw-r--r-- | src/tmtx/hid-tmtx.c | 9 |
3 files changed, 15 insertions, 12 deletions
diff --git a/src/tmt248/hid-tmt248.c b/src/tmt248/hid-tmt248.c index af3aaa9..9ac43d9 100644 --- a/src/tmt248/hid-tmt248.c +++ b/src/tmt248/hid-tmt248.c @@ -163,7 +163,7 @@ err: return ret; } -int t248_wheel_destroy(void *data) +static int t248_wheel_destroy(void *data) { struct t300rs_device_entry *t300rs = data; @@ -175,7 +175,7 @@ int t248_wheel_destroy(void *data) return 0; } -int t248_set_range(void *data, uint16_t value) +static int t248_set_range(void *data, uint16_t value) { struct t300rs_device_entry *t248 = data; @@ -251,9 +251,10 @@ static int t248_close(void *data, int open_mode) return 0; } -int t248_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) +static int t248_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) { - struct t300rs_device_entry *t248 = kzalloc(sizeof(struct t300rs_device_entry), GFP_KERNEL); + struct t300rs_device_entry *t248 = kzalloc(sizeof(struct t300rs_device_entry), + GFP_KERNEL); struct list_head *report_list; int ret; diff --git a/src/tmtsxw/hid-tmtsxw.c b/src/tmtsxw/hid-tmtsxw.c index e281127..b8ee1fd 100644 --- a/src/tmtsxw/hid-tmtsxw.c +++ b/src/tmtsxw/hid-tmtsxw.c @@ -151,7 +151,7 @@ err: return ret; } -int tsxw_wheel_destroy(void *data) +static int tsxw_wheel_destroy(void *data) { struct t300rs_device_entry *t300rs = data; @@ -163,7 +163,7 @@ int tsxw_wheel_destroy(void *data) return 0; } -int tsxw_set_range(void *data, uint16_t value) +static int tsxw_set_range(void *data, uint16_t value) { struct t300rs_device_entry *tsxw = data; @@ -239,9 +239,10 @@ static int tsxw_close(void *data, int open_mode) return 0; } -int tsxw_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) +static int tsxw_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) { - struct t300rs_device_entry *tsxw = kzalloc(sizeof(struct t300rs_device_entry), GFP_KERNEL); + struct t300rs_device_entry *tsxw = kzalloc(sizeof(struct t300rs_device_entry), + GFP_KERNEL); struct list_head *report_list; int ret; diff --git a/src/tmtx/hid-tmtx.c b/src/tmtx/hid-tmtx.c index afca799..857886c 100644 --- a/src/tmtx/hid-tmtx.c +++ b/src/tmtx/hid-tmtx.c @@ -151,7 +151,7 @@ err: return ret; } -int tx_wheel_destroy(void *data) +static int tx_wheel_destroy(void *data) { struct t300rs_device_entry *t300rs = data; @@ -163,7 +163,7 @@ int tx_wheel_destroy(void *data) return 0; } -int tx_set_range(void *data, uint16_t value) +static int tx_set_range(void *data, uint16_t value) { struct t300rs_device_entry *tx = data; @@ -239,9 +239,10 @@ static int tx_close(void *data, int open_mode) return 0; } -int tx_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) +static int tx_wheel_init(struct tmff2_device_entry *tmff2, int open_mode) { - struct t300rs_device_entry *tx = kzalloc(sizeof(struct t300rs_device_entry), GFP_KERNEL); + struct t300rs_device_entry *tx = kzalloc(sizeof(struct t300rs_device_entry), + GFP_KERNEL); struct list_head *report_list; int ret; |
