Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3851435pxv; Mon, 19 Jul 2021 10:14:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZ6ZRN98oTgN5t4BDuBJs39/DmkyVfwPisAHmw+aHAsSKBPzni8N5KXQd3SjGl2IJcpJGN X-Received: by 2002:a5d:5103:: with SMTP id s3mr30104557wrt.180.1626714888863; Mon, 19 Jul 2021 10:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626714888; cv=none; d=google.com; s=arc-20160816; b=EN98+P2+eWMhhLEdJ/DgskbmXkIYccGGNkZbcSG+/oRfD1oK6UQAtvnbJnkei5JxE8 PKVzTc89F57Pf4b6xM/rTA7KlBZrRdTfkvtL3joaUYbiUZMqtPjFZMIGY/e6R6izSHu7 ctWCa+owbvrAT0bpI7co7zs5vzMMRQ3ekTKvPwEriCnhFx6wNA9hssUNb35dvDpZn/R/ HgxlisfhN0Rsy4QyezIcX9WPup071iHtTzJnZXqWr46Uktvx9Vz3F21uLEI/p7Ad72Sr PrDQ9UK2S19FzdeP3ZOwZe4HYWu9KMHx6qag1e7tY7ov5Y3/8Os2VGYnylemvnFEcEbw qs/w== 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=D7UtC92xOjYHTiGrVdQNjOlcLDKwpw/85wohMoKXeBY=; b=fGeaz5TMfjhb+dF0EgTPhgKlc60fb2pSU/7EHPeKD00cc7E1tx9da+NRb/6F/91YV7 zq5f1fH6BzzVrcNDMsLbaE4LfjVhgB6Od3XGiq4LMwfc+dN57mgvOq+v++1gi4YrEohs W15Y64a9it+nrVOppQ27fkIirBaHui/1MZILQcPLNshJQ7g4rDpOpRbb0sHpG3uGriOI nuwDiPBMxKFx+vV166HF3kIOtjLlJmzDrlxgh4091U+KkLmfliFqySEWqJPKjU//hFH6 q+IHw5TpllHJ/2uzUTnxNEpW9KYNYjDyc+rYBrfxHWiP9JJsp7xNFdKm+iKyPIaOuS9W l4Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=W4v9fG0b; 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 li12si21822576ejb.24.2021.07.19.10.14.25; Mon, 19 Jul 2021 10:14:48 -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=W4v9fG0b; 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 S1351587AbhGSQcx (ORCPT + 99 others); Mon, 19 Jul 2021 12:32:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:58336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346349AbhGSPRD (ORCPT ); Mon, 19 Jul 2021 11:17:03 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4A78A61289; Mon, 19 Jul 2021 15:57:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710244; bh=yR8Maj5/lp6ECklMN5oxHCNVRcUyTuuv/VnUBSYCICY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=W4v9fG0b4Qt1XYLzldfjLVDvY5fvh0UV8y3bv+J59qv9fevByTWKELHcMRBCAZIUb CQ9DzOfwFoGFNz3dJS/6hEz9CCoDkIoVRJKQKYy6nhOUYZeNujiq3iP8TBmVU3T54y +DEN4I4gDKz0z5NZK+7LxOqZBG161XmSAvIkNUwU= 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 136/243] power: supply: ab8500: add missing MODULE_DEVICE_TABLE Date: Mon, 19 Jul 2021 16:52:45 +0200 Message-Id: <20210719144945.306160348@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 dfe52db13ab8d24857a9840ec7ca75eef800c26c ] 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/ab8500_btemp.c | 1 + drivers/power/supply/ab8500_charger.c | 1 + drivers/power/supply/ab8500_fg.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/power/supply/ab8500_btemp.c b/drivers/power/supply/ab8500_btemp.c index 909f0242bacb..4417d64c31f9 100644 --- a/drivers/power/supply/ab8500_btemp.c +++ b/drivers/power/supply/ab8500_btemp.c @@ -1142,6 +1142,7 @@ static const struct of_device_id ab8500_btemp_match[] = { { .compatible = "stericsson,ab8500-btemp", }, { }, }; +MODULE_DEVICE_TABLE(of, ab8500_btemp_match); static struct platform_driver ab8500_btemp_driver = { .probe = ab8500_btemp_probe, diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c index 6765d0901320..3d627768ad7b 100644 --- a/drivers/power/supply/ab8500_charger.c +++ b/drivers/power/supply/ab8500_charger.c @@ -3679,6 +3679,7 @@ static const struct of_device_id ab8500_charger_match[] = { { .compatible = "stericsson,ab8500-charger", }, { }, }; +MODULE_DEVICE_TABLE(of, ab8500_charger_match); static struct platform_driver ab8500_charger_driver = { .probe = ab8500_charger_probe, diff --git a/drivers/power/supply/ab8500_fg.c b/drivers/power/supply/ab8500_fg.c index 592a73d4dde6..f1da757c939f 100644 --- a/drivers/power/supply/ab8500_fg.c +++ b/drivers/power/supply/ab8500_fg.c @@ -3249,6 +3249,7 @@ static const struct of_device_id ab8500_fg_match[] = { { .compatible = "stericsson,ab8500-fg", }, { }, }; +MODULE_DEVICE_TABLE(of, ab8500_fg_match); static struct platform_driver ab8500_fg_driver = { .probe = ab8500_fg_probe, -- 2.30.2