Home
last modified time | relevance | path

Searched refs:q_new (Results 1 – 1 of 1) sorted by relevance

/drivers/hid/usbhid/
Dhid-quirks.c239 struct quirks_list_struct *q_new, *q; in usbhid_modify_dquirk() local
247 q_new = kmalloc(sizeof(struct quirks_list_struct), GFP_KERNEL); in usbhid_modify_dquirk()
248 if (!q_new) { in usbhid_modify_dquirk()
253 q_new->hid_bl_item.idVendor = idVendor; in usbhid_modify_dquirk()
254 q_new->hid_bl_item.idProduct = idProduct; in usbhid_modify_dquirk()
255 q_new->hid_bl_item.quirks = quirks; in usbhid_modify_dquirk()
264 list_replace(&q->node, &q_new->node); in usbhid_modify_dquirk()
274 list_add_tail(&q_new->node, &dquirks_list); in usbhid_modify_dquirk()