Imported Upstream version 2.6.0
This commit is contained in:
parent
26fb71b504
commit
459aaf9392
510 changed files with 40508 additions and 18859 deletions
|
|
@ -247,15 +247,15 @@ cat >> "$CFILE" <<EOF
|
|||
{ NULL, 0, 0, NULL, NULL, NULL, 0, NULL }
|
||||
};
|
||||
|
||||
static char *${LDRIVER}_format_model(HIDDevice_t *hd) {
|
||||
static const char *${LDRIVER}_format_model(HIDDevice_t *hd) {
|
||||
return hd->Product;
|
||||
}
|
||||
|
||||
static char *${LDRIVER}_format_mfr(HIDDevice_t *hd) {
|
||||
static const char *${LDRIVER}_format_mfr(HIDDevice_t *hd) {
|
||||
return hd->Vendor ? hd->Vendor : "${DRIVER}";
|
||||
}
|
||||
|
||||
static char *${LDRIVER}_format_serial(HIDDevice_t *hd) {
|
||||
static const char *${LDRIVER}_format_serial(HIDDevice_t *hd) {
|
||||
return hd->Serial;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue