Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3854293pxv; Mon, 19 Jul 2021 10:18:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7znt2w/ryHShFhXILP1CxLB/1cj1kX8G0Xkbc3hxYF+yzFLJSopMS8ZyYiSWmbdJNgv3U X-Received: by 2002:a02:aa8b:: with SMTP id u11mr22331789jai.43.1626715132298; Mon, 19 Jul 2021 10:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626715132; cv=none; d=google.com; s=arc-20160816; b=CgdNutc+1NL0xwVcKHNgk6MMUOfIbmg1OB9LsmyBnilRa4aklzenp4+wEEkjTqHTUr gV7w7ZkYUH0RnKx3vF+d4CbzbIj2HWXpp2t/ecpqutIFpGpV9tP4uH85/cOn0Hfnb48I jaSEilRvgYRm9ujTZ8J/AVM8YG2xPxZC1UYSzAfDAteswu4+JmO3FdkUPSXMh2tcds5Z F3fDh8Jx3q3yjdzl4ESSAUEkz/rzQyFjtwmgtet0Z5kzPnq/GcXuERFw9YuxLpeoXxZl Dbx2FwQlRPmQnZvIpR47wHKi5ZcoQFAi6A9aIQOFjivVT4qRvmL+lrw9j2OLUEhOwt4Z Y/MA== 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=uYTPRGqWf+uREs8YhTHX2PgMMrfG/ws8jHG6XR19xlw=; b=RgssF3G3dWVrtuEoTg4X7sS1WRannN0TXEkiZCmxL+46aG5oVRAiJt7fjTyLTEuLAJ JXsXlZduqWAbJpxsAH/DDsIimhjsNU3ubNkt/EHzNsLbDn7HvVTluWHRBH6znrlf+bwh SpjTdKHF5Qrlg/HAfz2tdFkRxEHDWTzQ/HsdA2ass2bN0m91ZCgdE0s5U6We6/1/RRJG XdulNaDA2DMqDJFElSRomjkcsWe2BssRYdHTMpsy9m+BKNur3Wyp0wmEx6r5ev5K5trE P3UqV7cVSGevwS3wyZ+qgtGHs/tgIa/SbK4tZE/MH3P1rBYZmDgcT11NbOL+QwVliolF bA7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=X4bJ8Di+; 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 k19si21898622ion.69.2021.07.19.10.18.39; Mon, 19 Jul 2021 10:18:52 -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=X4bJ8Di+; 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 S1352741AbhGSQdn (ORCPT + 99 others); Mon, 19 Jul 2021 12:33:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:57792 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347482AbhGSPRp (ORCPT ); Mon, 19 Jul 2021 11:17:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DE47861422; Mon, 19 Jul 2021 15:57:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710264; bh=31Q2SxNVO6mzsD2YnuunmRyukAVykWhnb+sZHX1XplY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X4bJ8Di+wSpMHIbTSf4xFIoCIdeIOO8at90FlfzbebJL89cN6hDJKTxKto6VFQ/Ul 3eIOlnDW3R0h0OCjeC7rhXB9ioIg+7V8YI7Lr+H0uy2a4wxFQ2AGCMGGnrP5YL9oGs dAIrewL01qaWmJEqE26pXDYxw5vpqxqCjp/mwn7g= 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 112/243] power: supply: sc2731_charger: Add missing MODULE_DEVICE_TABLE Date: Mon, 19 Jul 2021 16:52:21 +0200 Message-Id: <20210719144944.524920930@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 2aac79d14d76879c8e307820b31876e315b1b242 ] 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/sc2731_charger.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/supply/sc2731_charger.c b/drivers/power/supply/sc2731_charger.c index 335cb857ef30..288b79836c13 100644 --- a/drivers/power/supply/sc2731_charger.c +++ b/drivers/power/supply/sc2731_charger.c @@ -524,6 +524,7 @@ static const struct of_device_id sc2731_charger_of_match[] = { { .compatible = "sprd,sc2731-charger", }, { } }; +MODULE_DEVICE_TABLE(of, sc2731_charger_of_match); static struct platform_driver sc2731_charger_driver = { .driver = { -- 2.30.2