Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3524435pxf; Mon, 15 Mar 2021 11:28:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxN1p3ktOsMm7YCx6ey9DhupOqSM8YapfQRsuTZcQc5h+2dqGWmGGmyLouB9DtWsHVkWCRi X-Received: by 2002:a17:906:2314:: with SMTP id l20mr25701543eja.178.1615832920954; Mon, 15 Mar 2021 11:28:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615832920; cv=none; d=google.com; s=arc-20160816; b=dAIaNWo76L4uKJ9GdnMPuALmv5HLlAt6gWmRkCLI4ZVhYscaLvefJUJprzOu5AkcxE kGCGJzlor3TIryqzAnT1iY2WTs7GOty7rGi5OG5ULLwPBx11v0+wBXQO/IgVup9LtPfY aJwjzA1HlPFd31fYiBtqHwxDbA5NAUwM1mXnl9ywEmWhlWnziqde35EpOFgGlzRkbKwF jv9rmz2htjzMzrA33MaazPAp6kBxBpYtx0VuLmbzAoul9Onmd/L4I227oPBL+Fk7Wwr4 l35LlNwfjw9I5EF7z40wMSyLvPDs42YtKNLL0mwzyYtr9jtcbfuXAwTNjStrW6ZiHf0Y InRA== 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=QlLF+UxGxG4YvagZcVs93EEgzFHf1gQRI0NZJ7u03lU=; b=0zy4gEQdQb/C6rmV8TBua560LM4f3QAubIkAirYX3CfAzIapSDXcaCHF9tcFjAVzHL V81phx5qVBhDMSItC3zZiYzyKljv9KAuvwDMY0QUFrW2BYJ5IngkkkqpVmoWdwZZTqDa L8QreOXfLIgFpGFstKXGVyJH/XHpdOhTsNLo9UZBTQAUoqbm4VB/jG/smkb+zd1TldCV NR0AYpxpNaBcQrLEXP6OCKPlxZmzx3UE5DDatFAMiu2JGuPYb07fouxnfV+RVeDs+TfV kr1CKKH5z3BAY1BJXgwz2hgki4RusoU2vTMOJc9yq/eZNziQrFo2gFNzqh17r1PfIzk9 G6xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rQBaSY0B; 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 z2si2120613eju.371.2021.03.15.11.28.10; Mon, 15 Mar 2021 11:28:40 -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=rQBaSY0B; 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 S233962AbhCOO2w (ORCPT + 99 others); Mon, 15 Mar 2021 10:28:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:37612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233011AbhCOOAd (ORCPT ); Mon, 15 Mar 2021 10:00:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2598F64F35; Mon, 15 Mar 2021 14:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816811; bh=33wxDA+U8uhcNj+hgQP2X8Hi+2CrCVx0NpPPF+yWc+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rQBaSY0BbbScNrms5vun0G0tPzGmyoAkRz4903JRfBJMuOpozqLXyvuY0nLPI4OCJ wQmw8iGxIIKPuhHXTrOKerIKNFRA7yZueM3QM2+xp8bTM7xBqhw8yl7RIiIrDX3xwW Z+5gqQ2mPhUBvHg5qcDVT7JhEc1cWQhTPi3+yP6I= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shile Zhang Subject: [PATCH 5.4 125/168] misc/pvpanic: Export module FDT device table Date: Mon, 15 Mar 2021 14:55:57 +0100 Message-Id: <20210315135554.459327001@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135550.333963635@linuxfoundation.org> References: <20210315135550.333963635@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: Greg Kroah-Hartman From: Shile Zhang commit 65527a51c66f4edfa28602643d7dd4fa366eb826 upstream. Export the module FDT device table to ensure the FDT compatible strings are listed in the module alias. This help the pvpanic driver can be loaded on boot automatically not only the ACPI device, but also the FDT device. Fixes: 46f934c9a12fc ("misc/pvpanic: add support to get pvpanic device info FDT") Signed-off-by: Shile Zhang Link: https://lore.kernel.org/r/20210218123116.207751-1-shile.zhang@linux.alibaba.com Cc: stable Signed-off-by: Greg Kroah-Hartman --- drivers/misc/pvpanic.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/misc/pvpanic.c +++ b/drivers/misc/pvpanic.c @@ -166,6 +166,7 @@ static const struct of_device_id pvpanic { .compatible = "qemu,pvpanic-mmio", }, {} }; +MODULE_DEVICE_TABLE(of, pvpanic_mmio_match); static struct platform_driver pvpanic_mmio_driver = { .driver = {