From: Johannes Berg <johannes.berg@xxxxxxxxx> Otherwise sparse complains. Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx> --- compat/compat-3.8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compat/compat-3.8.c b/compat/compat-3.8.c index 36f3c50..70b004c 100644 --- a/compat/compat-3.8.c +++ b/compat/compat-3.8.c @@ -289,8 +289,8 @@ static bool hid_match_one_id(struct hid_device *hdev, (id->product == HID_ANY_ID || id->product == hdev->product); } -const struct hid_device_id *hid_match_id(struct hid_device *hdev, - const struct hid_device_id *id) +static const struct hid_device_id *hid_match_id(struct hid_device *hdev, + const struct hid_device_id *id) { for (; id->bus; id++) if (hid_match_one_id(hdev, id)) -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html