Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3851304pxv; Mon, 19 Jul 2021 10:14:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxiXdLHljmYohnIgoKG/R4sa+09qLaPPD719/7UvqQisaMGs6cRL7gOYK6Z7ojbLi3NvaCw X-Received: by 2002:a92:c54d:: with SMTP id a13mr5406629ilj.74.1626714877925; Mon, 19 Jul 2021 10:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626714877; cv=none; d=google.com; s=arc-20160816; b=PHa6mLA9h0p1LKHUjP+4M7fvhnlMclFOTmQa32rak55Ny/6jroTgQ1r7trZ4H4wRJo xX5y7doBcHDL1jxPT4MklZQvuCeN3KNfarOScCqAC/hhcv3oZxn/aCPgiVpz+dNHUu8s WTqDjZXEc8+LGZ2RA3yqLJaCve6z46gkVDb05agt0hlAeh4lCAEHGkD8/gdcVNlLf+p/ 1t2Cf4GrleM0s3v32jmk7slI1xvjtRYw1WPbo0cAQ3sl21DWewzOyLmsQRCWjfbuFBp4 2sprWEydN5KhqnsxFJ8jHRxfn5X6J5sgjIjMvRO6ZYVw8ejU5Z34Rt6eNDY3OPCoeODq 3h4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NibzALTUqFyOkhswl66JJzOUMfqOzPB+4mCwliL+oNU=; b=Sa7cG8aivJMUqw8qAESy3VgP8GX2mr8/zlAnWYh68ehBnNGckL8eGE5NWhxVGr4E+Z 5cz565Kv866vEcf8Ylj8V5KtLcU+FaK/6sdgdPR2QRATnoebe+4LhbA4hAA6pgp5rjkK PwqY3c5SHELYW5x/RUzjdjwL1Qs1c0j2Peee/10KihiNEj2Nz89UFZrxfXd6WUu3xeXv trD68N07L5zPej6qhX7ZFaadN5+c7gGas2wHKQlZ8gDvOxqYzwid6yb16WXb01m+tCbb sAjff7OI8Kt5tgU9Ugd5BW410YVmaOyUD9/OmC28GWFFS9Eg8ualbsFMedEnvZAjTcT9 vzJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Nt1jAqkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si21880772ioq.17.2021.07.19.10.14.25; Mon, 19 Jul 2021 10:14:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Nt1jAqkH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352214AbhGSQci (ORCPT + 99 others); Mon, 19 Jul 2021 12:32:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:56908 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346337AbhGSPRD (ORCPT ); Mon, 19 Jul 2021 11:17:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F3152610FB; Mon, 19 Jul 2021 15:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710242; bh=Msty9ciBjP5m9SthITIk4KQonM2HpjFQVAmZcKQt8cs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Nt1jAqkHS4/6pRF2qob1y6P8GjAgvAFUCMDZe8DbEBY/F66A3bPwKfGFvOlPziMZ6 dufmRzMVEGnPG1PkOYdUQwgCDywHK6DgQtsOPB+CrWM4vQlBIVWSfC5Otnp1t5WjWq YHZQhpey6H+xWPcjecpfwJUsqqodbAjDB+tz3XNI= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zou Wei , Sebastian Reichel , Sasha Levin Subject: [PATCH 5.10 135/243] power: supply: charger-manager: add missing MODULE_DEVICE_TABLE Date: Mon, 19 Jul 2021 16:52:44 +0200 Message-Id: <20210719144945.268884439@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Zou Wei [ Upstream commit 073b5d5b1f9cc94a3eea25279fbafee3f4f5f097 ] This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module. Reported-by: Hulk Robot Signed-off-by: Zou Wei Signed-off-by: Sebastian Reichel Signed-off-by: Sasha Levin --- drivers/power/supply/charger-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/charger-manager.c b/drivers/power/supply/charger-manager.c index 6fcebe441552..333349275b96 100644 --- a/drivers/power/supply/charger-manager.c +++ b/drivers/power/supply/charger-manager.c @@ -1279,6 +1279,7 @@ static const struct of_device_id charger_manager_match[] = { }, {}, }; +MODULE_DEVICE_TABLE(of, charger_manager_match); static struct charger_desc *of_cm_parse_desc(struct device *dev) { -- 2.30.2