|
@@ -777,6 +777,17 @@ struct hid_ll_driver {
|
|
|
int (*idle)(struct hid_device *hdev, int report, int idle, int reqtype);
|
|
|
};
|
|
|
|
|
|
+extern struct hid_ll_driver i2c_hid_ll_driver;
|
|
|
+extern struct hid_ll_driver hidp_hid_driver;
|
|
|
+extern struct hid_ll_driver uhid_hid_driver;
|
|
|
+extern struct hid_ll_driver usb_hid_driver;
|
|
|
+
|
|
|
+static inline bool hid_is_using_ll_driver(struct hid_device *hdev,
|
|
|
+ struct hid_ll_driver *driver)
|
|
|
+{
|
|
|
+ return hdev->ll_driver == driver;
|
|
|
+}
|
|
|
+
|
|
|
#define PM_HINT_FULLON 1<<5
|
|
|
#define PM_HINT_NORMAL 1<<1
|
|
|
|