Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp6746540rwj; Wed, 21 Dec 2022 21:13:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXssouIf0AygIimXhjxTtbuHtyNP47cdJbOz3o5sQHKgOQ4QqKnF0VJ9qAlQGwjPDVZTCZLV X-Received: by 2002:a17:906:1ccc:b0:7c0:d88b:4323 with SMTP id i12-20020a1709061ccc00b007c0d88b4323mr2849040ejh.61.1671685986185; Wed, 21 Dec 2022 21:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671685986; cv=none; d=google.com; s=arc-20160816; b=lc+ER8FhxfM323qkCtNuQPsDqflv6G4fb0/9RQ57EKh4aYc3OHvyYqovZAstXdsCnk EssBqbjrbIDnBoaIjtci44TySpZn/5tmQmKVRJYbT6qOpGZy0Iw2xTi+g0gbQ9gTj+P6 qBqQ6Q5MfPpjv0zztRc97C/UF2+Gesj+h1/kDRKcuJbAaxYn51c39KB0kvang3pUI344 j6EyFxeu2phKDUeTOblFBMX2xDx5VW/OwYtyNyruf1pu/Dp4raVVB5wIOy8sMw5k4Q+J tDAtRIgD4lrNWJrXIbAs/uAkAHLKdRAPxtTHvfLpY/Z8eaqx6Q5ILI8bypHbdrlXYgVA Lq2A== 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=MMHpl1k6BqyJsKXmXM0PaWP9eJ+wd8dZs3I+DC10QiU=; b=lIzFNgwLsss9xhMxc67pLA/J6xkxC7lIa7wnWgKssIoX1fZxYSl6fLmSTCLeA+PJeN U870Fqx7UCqoWtW6dQ5TYxRDtmBs7XglHsXGcgmKPnh7ntiTv4Wb+nDJwv3WRAkpttnw BsTKUpIHglOcAUSfYA8R7LLQUNKeCdoPPILtofaSPpkHFN2CCcmcmOqAgVYp1mEIjGZc 5mAt4VLr+omCmebUmGvJgslOmDzTnNF8DC3VcV1Ie2mwaq/UW3ma1gP/6ezdv1L0R0Yi O9uNYd1G/MRo3tw/ZIfoz6Y0/0IqmMtL7Qt0StrsvaeT4CnFcLK07CPeZ9s0Xl+5e+K2 XEHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@weissschuh.net header.s=mail header.b=epcg2+Bo; 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 he12-20020a1709073d8c00b007c18ffbf16esi16663810ejc.433.2022.12.21.21.12.41; Wed, 21 Dec 2022 21:13:06 -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=epcg2+Bo; 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 S235066AbiLVFLR (ORCPT + 99 others); Thu, 22 Dec 2022 00:11:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234935AbiLVFK4 (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 381B31658E; 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=3tt57RWBYX5CpuseBTCAV7ztLBfuQPQBKVNcrS3Coqo=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=epcg2+BoRcWGmGGExUkIbvMK3fOGUjiEpfuFMiP5Tk8cnxTRWIzvBWidu537lLYcD XHcmWj/niC/YYxHl2d9Tp0CCnRI/ez+gg1Vk9vrfKrMDW/6mLdadFHCPQe40DB5U0f LMgI6Wat2IpMhJynmRD6LU6BVfS5HjScNkZKUq7I= Date: Thu, 22 Dec 2022 05:10:50 +0000 Subject: [PATCH 7/8] HID: Unexport struct i2c_hid_ll_driver MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: <20221222-hid-v1-7-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=1468; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=3tt57RWBYX5CpuseBTCAV7ztLBfuQPQBKVNcrS3Coqo=; b=osblnINoh9h3TCBJu+R5RiGx1YADyMfECKm+DAviSnAPrv2sUjAeix34W7wZKB3wMhcCKrZ6KPas ScB0DkgNAuPTRFqHvN9l+muu7v+WUErl0i20VnRMX4+88j1EYq/f 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/i2c-hid/i2c-hid-core.c | 3 +-- include/linux/hid.h | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/hid/i2c-hid/i2c-hid-core.c b/drivers/hid/i2c-hid/i2c-hid-core.c index b86b62f97108..fc5a0dd4eb92 100644 --- a/drivers/hid/i2c-hid/i2c-hid-core.c +++ b/drivers/hid/i2c-hid/i2c-hid-core.c @@ -842,7 +842,7 @@ static void i2c_hid_close(struct hid_device *hid) clear_bit(I2C_HID_STARTED, &ihid->flags); } -struct hid_ll_driver i2c_hid_ll_driver = { +static struct hid_ll_driver i2c_hid_ll_driver = { .parse = i2c_hid_parse, .start = i2c_hid_start, .stop = i2c_hid_stop, @@ -851,7 +851,6 @@ struct hid_ll_driver i2c_hid_ll_driver = { .output_report = i2c_hid_output_report, .raw_request = i2c_hid_raw_request, }; -EXPORT_SYMBOL_GPL(i2c_hid_ll_driver); static int i2c_hid_init_irq(struct i2c_client *client) { diff --git a/include/linux/hid.h b/include/linux/hid.h index 21017e1ddbdb..60a092150bc6 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -853,8 +853,6 @@ struct hid_ll_driver { bool (*may_wakeup)(struct hid_device *hdev); }; -extern struct hid_ll_driver i2c_hid_ll_driver; - extern bool hid_is_usb(const struct hid_device *hdev); #define PM_HINT_FULLON 1<<5 -- 2.39.0