Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6745346rwj; Wed, 21 Dec 2022 21:11:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXsig7TY+bsFJHLEDgmCebhH3pzLIWeSNDmOc4whGbch0LsU/sGc0tiwmMqTVD6H/rIpXcoS X-Received: by 2002:aa7:dd13:0:b0:47b:a6e:6b69 with SMTP id i19-20020aa7dd13000000b0047b0a6e6b69mr4113879edv.2.1671685907315; Wed, 21 Dec 2022 21:11:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671685907; cv=none; d=google.com; s=arc-20160816; b=bVwzm7JbIAsILG4chOk/L3ZCx23xbn0deqDiYyNMtxyBuszF6nL0+u1/SIM3xqp7rL AhjjfbvkG7y0fTlfH68WjzzeWRwgcOHtGriOv6VzA+Z9SsoqBIfhPIkaT5U03IFtEL5z 148LpKpyH/mSeVG7Avy1YbqCuN2I7UtcUeLlRLy41HIBxaTzbC7xWRLeIQXXlIXHDKwx ww2W6xCvz1LjQCJzqeeiGRzKCbzhaW/bw9vNOO1tewYTFNh8K7s8dhCqW3Hm4o6L8lrL aATRnKNIR/ky9N7jtDTtOtvwD7J0pKg6G9FSnA05T5DMOVpso1DdAtZr02zIrkYx1ltr RPbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:dkim-signature :from; bh=/FWFhopZct+X9aRhyei2rNNgdCrKMVpBmOjRgOYxprQ=; b=gZGqXNleAg3rDKPjBMj+WfcVXYuzCL+f+LdvfD1R2EBPZx9wP86H3Gsjyhl3xlViXt gF16NosxSA9hIxf3v7JQp3VZjohqOuh0sFGBsE8pTFLY1Tm/HYYqs0ncp6iJ2NZR6ai6 WZT9RsFqzHakFfJtqzSlS83FE7v0Ia9mALpv3KP1yJmLe9jPqW0o5An/iD7qQMvbXby6 jIRyOoeXk2emgO1/mon0lHyIbsx9A+pXqmJBD+7Q5IzHbboo50ylmcEpJJ2j2G94CbsY 5f6829zVZi+Ccf/7dZB19qLkVM1ukzOqXor3ybczrFojE2qjzn7dmjFX2VB6dnY2tS1W iJEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=B4KopxcG; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lf17-20020a170907175100b007ae1e635ea3si4485186ejc.754.2022.12.21.21.11.10; Wed, 21 Dec 2022 21:11:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=B4KopxcG; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231146AbiLVFKy (ORCPT + 99 others); Thu, 22 Dec 2022 00:10:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbiLVFKw (ORCPT ); Thu, 22 Dec 2022 00:10:52 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12268165B2; Wed, 21 Dec 2022 21:10:50 -0800 (PST) From: Thomas =?utf-8?q?Wei=C3=9Fschuh?= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=weissschuh.net; s=mail; t=1671685848; bh=RIY1KZguWJeqHeg13Dbz3EKLW3n5Yawly4C6fJX/LRo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=B4KopxcGDKneLhdAvB+atbk/GeTqzo6ATdvLeucyapM3W/3YYRA4GH5o+Aa+jUqvr DsyaescBu1lPdwZen5tz3kT2577Fh2cp5C3B75c5tTBQfFMdE6YSMkbudcV3v/42nf 0mRODCEI7Tom4lYQPSvqzdcZijSAf7VZXJ4NEWcs= Date: Thu, 22 Dec 2022 05:10:47 +0000 Subject: [PATCH 4/8] HID: Unexport struct usb_hid_driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221222-hid-v1-4-f4a6c35487a5@weissschuh.net> References: <20221222-hid-v1-0-f4a6c35487a5@weissschuh.net> In-Reply-To: <20221222-hid-v1-0-f4a6c35487a5@weissschuh.net> To: Hans de Goede , Jiri Kosina , Benjamin Tissoires , David Rheinsberg , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, Thomas =?utf-8?q?Wei=C3=9Fschuh?= X-Mailer: b4 0.11.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1671685845; l=1454; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=RIY1KZguWJeqHeg13Dbz3EKLW3n5Yawly4C6fJX/LRo=; b=Twlbh9MUsolPC82vCzevu0rgTC04hHdXtPIymvu1dlWN4lhliG2xZcHHYVBpMH7XO1SMuEjKKlp7 hpKtj9u4C3bfXOpPLVvR2NF9tVYHgzvL6IRNjQZRixgb8yX4EhSl X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org As no external users remain this implementation detail does not need to be exported anymore. Signed-off-by: Thomas Weißschuh --- drivers/hid/usbhid/hid-core.c | 3 +-- include/linux/hid.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c index 54b0280d0073..4143bab3380a 100644 --- a/drivers/hid/usbhid/hid-core.c +++ b/drivers/hid/usbhid/hid-core.c @@ -1318,7 +1318,7 @@ static bool usbhid_may_wakeup(struct hid_device *hid) return device_may_wakeup(&dev->dev); } -struct hid_ll_driver usb_hid_driver = { +static struct hid_ll_driver usb_hid_driver = { .parse = usbhid_parse, .start = usbhid_start, .stop = usbhid_stop, @@ -1332,7 +1332,6 @@ struct hid_ll_driver usb_hid_driver = { .idle = usbhid_idle, .may_wakeup = usbhid_may_wakeup, }; -EXPORT_SYMBOL_GPL(usb_hid_driver); bool hid_is_usb(const struct hid_device *hdev) { diff --git a/include/linux/hid.h b/include/linux/hid.h index 7c5fce6a189e..170cad696541 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -856,7 +856,6 @@ struct hid_ll_driver { 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; extern bool hid_is_usb(const struct hid_device *hdev); -- 2.39.0