From 6e254269afb76c52356033f614c4e533cf3cc247 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Wed, 17 Apr 2013 15:17:24 +0200 Subject: [PATCH] backports: mask hid_match_id() since it's present already On some kernels, hid_match_id() exists, so mask it. Signed-off-by: Johannes Berg --- backport/compat/compat-3.8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/backport/compat/compat-3.8.c b/backport/compat/compat-3.8.c index a3d8f4b6daab..9f5df7d4a5fd 100644 --- a/backport/compat/compat-3.8.c +++ b/backport/compat/compat-3.8.c @@ -277,6 +277,7 @@ static bool hid_match_one_id(struct hid_device *hdev, (id->product == HID_ANY_ID || id->product == hdev->product); } +#define hid_match_id LINUX_BACKPORT(hid_match_id) static const struct hid_device_id * hid_match_id(struct hid_device *hdev, const struct hid_device_id *id) { -- 2.30.2