Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6745477rwj; Wed, 21 Dec 2022 21:11:53 -0800 (PST) X-Google-Smtp-Source: AMrXdXujsDJFjjBr+VM6aiK77Rt2pi8G1RLy8/XcgUMBhd+PVWcjIDdAhy0QjuOT52Tk/ygpz4Nv X-Received: by 2002:a05:6402:4141:b0:479:971e:5da8 with SMTP id x1-20020a056402414100b00479971e5da8mr4186822eda.13.1671685913717; Wed, 21 Dec 2022 21:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671685913; cv=none; d=google.com; s=arc-20160816; b=ji54Z3F27AvM2oQ1e97atFL568nPSpJWkCY59JDxgqsphPtn4rQm7Z/L63kX+G/z4h nmkCWW0ChcFTtquYjyovoIWacoENbg3Dnvt/H6tZ0oqVX2pDMRKw6KXweyLDFmYHRHmJ 12OpVP6FmKj2rjIM0nK9Q5qHjnezhyrWAseuTREP/Y96ZxWRm+5j2HM9emRd5gvd3tKH wUcSDrooCD3Nf406YWgG4P5+JIZ5PtHesz5wV9U9SVaVWjqg/kIY5P/UhY5PIz1o83bt HxBUr4FVqf0hAk+D/xPdOV084qFG85+/R2JbQ7rZLPdCE27RXNf2FDeEzrp4XPbx60bE MQ0w== 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=SuwbiOUUHJpY0HgxxjE1sApyLz7ZuEPDDZAhUwXnaX4=; b=CI5H/OOaNmZ2SvD/ylnBIvH+uI80EUJmNBGnUngOPxwFFMO+L2Mrhp+4Qjft4RuAKc zQK5u0LRq/GLEswjjmQcpAudi6sDjwYK4zXMNRtjaR2cnhRDM/QMmjo8CyLCc2i62kWg lWfBRy3F1l0SCHp1QG4aULu9GqGVDOYKjxjanBF8TntdrzvegYjvtEi0Gdjl6TBLlqpk 5S3g0LRIgalag5VvHuFOjMWN5e3iAlRNq5I9Fn2skikE7uP7ehmnLrscKFxVfdVgoMV+ RnbyzKx3+5TvVakKFTs80/JFmgOS/ANWUG0fbjRTbKFcZhPybtR6u3YpcPr3I7FvU1go KXvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=n5IDgDSg; 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 ne31-20020a1709077b9f00b007ae83c51922si18490365ejc.45.2022.12.21.21.11.30; Wed, 21 Dec 2022 21:11:53 -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=n5IDgDSg; 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 S235018AbiLVFLD (ORCPT + 99 others); Thu, 22 Dec 2022 00:11:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234942AbiLVFK4 (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 E8F22167EA; 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=KNDYF1vETUCv281B3wbscifz4EYdRKLnRT85P8QGRws=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=n5IDgDSgJ5Ft1nF8p7+fU1/gjFaYNms0ca7zuYALHWWAbIhrWhLcBASZkKCvQ0947 fYurq0cMzFzNMk96ev9jnrGRWWj4bd1BF26Ct/acvIpq0JAv+fYpVvGflq5o0vNbJR rUlHKN6n/c2XGX6Smjaq1ugRhTBew55yFB8lHujg= Date: Thu, 22 Dec 2022 05:10:49 +0000 Subject: [PATCH 6/8] HID: Unexport struct hidp_hid_driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221222-hid-v1-6-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=1398; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=KNDYF1vETUCv281B3wbscifz4EYdRKLnRT85P8QGRws=; b=/j3ygvhvFnOJULkdDMIiuq/c9IGI+in3/gju7WW3oMVJqQB8gWnhTYfiOIas7RwHuyv55bC8Ja/X MPkr7wWnAOo8Xb1xC5QrYW+9yzNGJOVrbkxXKNcJN6fTqBptKkmK 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 --- include/linux/hid.h | 1 - net/bluetooth/hidp/core.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/hid.h b/include/linux/hid.h index 3fcc47a9d0e8..21017e1ddbdb 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -854,7 +854,6 @@ struct hid_ll_driver { }; extern struct hid_ll_driver i2c_hid_ll_driver; -extern struct hid_ll_driver hidp_hid_driver; extern bool hid_is_usb(const struct hid_device *hdev); diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index cc20e706c639..c4a741f6ed5c 100644 --- a/net/bluetooth/hidp/core.c +++ b/net/bluetooth/hidp/core.c @@ -739,7 +739,7 @@ static void hidp_stop(struct hid_device *hid) hid->claimed = 0; } -struct hid_ll_driver hidp_hid_driver = { +static struct hid_ll_driver hidp_hid_driver = { .parse = hidp_parse, .start = hidp_start, .stop = hidp_stop, @@ -748,7 +748,6 @@ struct hid_ll_driver hidp_hid_driver = { .raw_request = hidp_raw_request, .output_report = hidp_output_report, }; -EXPORT_SYMBOL_GPL(hidp_hid_driver); /* This function sets up the hid device. It does not add it to the HID system. That is done in hidp_add_connection(). */ -- 2.39.0