Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6745347rwj; Wed, 21 Dec 2022 21:11:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXvVJ14po8Pan5RlDfiXx+elc9xxxKY0i5+vFSJ6lW7DjJZMtIS/Lod0EJlMO1NeFtNcTHlS X-Received: by 2002:aa7:c69a:0:b0:45c:834b:f293 with SMTP id n26-20020aa7c69a000000b0045c834bf293mr3746181edq.16.1671685907303; 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=C8n0y7ilWgXidzL5JxVBHnXS+N3ZSjtGO6ftaON9hV2qb21Y7p62GGX4TttLe2PMH6 MTh5NxeRa7ZFwRu5O/iE6T0Pda2/G4I24ya9vLKnZgHC+42Dhuch0WvfvuQGmqaHfwMb FMgJSRAaQZzNw/UlspM5Tp2rGyEdtgqeLRcQd8ao1wpr64nZZUgrsoX3pPqwhHJV6o3J X/EswRzNrDhF2hqzXSacv9KRsNOYNl/35pq6dHUZj3VI10RsCU6uH+MOLOIuPfxl0w04 jkG0vBq6FWjV5Z98ansbZxzZFgTkjLncS9PpwJvPrqZo1A6DtxB3rO40/+P/bSVcpGEQ 5aDQ== 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=m6ADRQEvLG5gQhC5hujnMjR/METQD6S0G7MdI4tWG98=; b=RMH2AkM09sAiFgBsl3zvi4tn3YvcjV04NFladXs5tHAMqAmTpNNGDPrT/FaGB/SFn1 AtS/hJXUJBVorDsIb16VpO979zY4n3oriO/nHnk/Gye87wSlwj2vYW25fa/gbA1E8/mO Yl4/Jbg4l314+JJT3z7D04u+X44HANLnVkyZiW1DfUvFdRpzhOd++3+EOVydku+5so82 +JkSU7bpQL3JKr7YUEfGJLu9MEcIPXIKaGsbhvz5AhcY9W5SL/U52s3Lsj4XH6FxsM+j fRH/nP4sJST6jzFPZ4XDnWRPU9Mz0j3kNVPbIUB4DYCV9QZMrUOOYOgtxOZvWpDfF15I CdcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=q5AqM4c+; 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 n22-20020a170906119600b007c4fe4301b2si12705559eja.949.2022.12.21.21.11.20; 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=q5AqM4c+; 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 S235002AbiLVFK7 (ORCPT + 99 others); Thu, 22 Dec 2022 00:10:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234939AbiLVFK4 (ORCPT ); Thu, 22 Dec 2022 00:10:56 -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 E34F2165B2; Wed, 21 Dec 2022 21:10:54 -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=1671685851; bh=6D4t7+JXnsI1DZVJH2nKSPANnSWnoNUa6Jai4hAGGu0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=q5AqM4c+GY8WS6WkXYvHnj9n88nW4RLtbP/bIVz5vGdSs8bg194M4EbvKBEU34+F5 eUX/KtMRAmD3EjJtYDRO8hEBI0AOlzsvVkAI/L4duw0OhcHG4El57ywfk1T6s8PtnT PEVkRt8ZCYM/c7PiaPR1F/z+L1oXeVAw4Ff41bsY= Date: Thu, 22 Dec 2022 05:10:48 +0000 Subject: [PATCH 5/8] HID: Unexport struct uhid_hid_driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221222-hid-v1-5-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=1385; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=6D4t7+JXnsI1DZVJH2nKSPANnSWnoNUa6Jai4hAGGu0=; b=ueKsApjEc+dHlbV5vxODk6cHsdKukzb8/qpLEcck8VMUonrilUZkvyjDis9pnwrHNt9/RpmXQMV9 cQwA8HBrBT1Wf/ImQaWGcl8NtV+HDRASjrB+h5PYMZU+iR0qrbwa 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 there are no external users this implementation detail does not need to be exported. Signed-off-by: Thomas Weißschuh --- drivers/hid/uhid.c | 3 +-- include/linux/hid.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/hid/uhid.c b/drivers/hid/uhid.c index 2a918aeb0af1..6cec0614fc98 100644 --- a/drivers/hid/uhid.c +++ b/drivers/hid/uhid.c @@ -387,7 +387,7 @@ static int uhid_hid_output_report(struct hid_device *hid, __u8 *buf, return uhid_hid_output_raw(hid, buf, count, HID_OUTPUT_REPORT); } -struct hid_ll_driver uhid_hid_driver = { +static struct hid_ll_driver uhid_hid_driver = { .start = uhid_hid_start, .stop = uhid_hid_stop, .open = uhid_hid_open, @@ -396,7 +396,6 @@ struct hid_ll_driver uhid_hid_driver = { .raw_request = uhid_hid_raw_request, .output_report = uhid_hid_output_report, }; -EXPORT_SYMBOL_GPL(uhid_hid_driver); #ifdef CONFIG_COMPAT diff --git a/include/linux/hid.h b/include/linux/hid.h index 170cad696541..3fcc47a9d0e8 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -855,7 +855,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 bool hid_is_usb(const struct hid_device *hdev); -- 2.39.0