staticbool hid_generic_match(struct hid_device *hdev, bool ignore_special_driver)
{ if (ignore_special_driver) returntrue;
if (hdev->quirks & HID_QUIRK_IGNORE_SPECIAL_DRIVER) returntrue;
if (hdev->quirks & HID_QUIRK_HAVE_SPECIAL_DRIVER) returnfalse;
/* * If any other driver wants the device, leave the device to this other * driver.
*/ if (bus_for_each_drv(&hid_bus_type, NULL, hdev, __check_hid_generic)) returnfalse;
returntrue;
}
staticint hid_generic_probe(struct hid_device *hdev, conststruct hid_device_id *id)
{ int ret;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.