Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3527339pxf; Mon, 15 Mar 2021 11:32:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzIQQSm9Z7gsDbzNeZqVY/vhV5Uur3KVYCkUdh5IqCY4Tv2lD797H0EWs7DpivxqHxKnK5u X-Received: by 2002:a05:6402:b70:: with SMTP id cb16mr31600806edb.11.1615833153219; Mon, 15 Mar 2021 11:32:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833153; cv=none; d=google.com; s=arc-20160816; b=XDYxdFRm5+5BS6hHhJnt+iG4XrcBgt6D14lOYUoue6v6vclxbQ5NANGDj4rXIEerf3 DXy8NMe2LnV8aE4NE6UyuFwAp+pOw7pEk3JCsPRtoU4/tZ3gOTs0O7Iz+Q4c23/6HORf C/SSaS1Nkc2sXRvhvQxwqD0Fm4Zb/11tZXVYNHTMX4tYeq51nM9enRoNhsbD/yCEQCK9 oiYL4K4Zvf3SfWUFfmsjSFwmsR6fRHdSa11BbImdx83rzAXGQRSo6s1gKrBVDtlaoSzK vFAsyksP5ss00NWMDFtZ3/xeGk9rQ75dOgeTLVGGW2hEvKKldgUgQ+xx/1Rdl89q1qHZ vecA== 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=bvdduZqh9cm4mN5LtKiLD0Apc80XW1YLYp6IKo0stPMOq39v+6tu95oQqntWtGPpLY SXP4L8YyN28QiUD2y6Z7ya1E/yW3VCldAF9ow57UrmfNo3SWzEIq7AHTr/TNqGCqoqY4 6Oz6+pMED294KUIwoAR0kC5OCcIFiFcpYqYEvVmTFtXxWQ2U9PkE3xnlSNKyWYNplKLe 8tcCSCTKMmj7B8UTZrghyfoBi5xZC7yOLrYHEVm7Nl482qOEKnuHZzom8ejn1mrR/xM7 uA5iuzLwQUEJlJqFH/032/Qn4BBVlZ7JNEKOHiiie7nkmie6wuGIZ7Tw7atvvdbgFkjb EocQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=j4Clv8jY; 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 m7si12121552edd.486.2021.03.15.11.32.11; Mon, 15 Mar 2021 11:32:33 -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=j4Clv8jY; 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 S237501AbhCOOmE (ORCPT + 99 others); Mon, 15 Mar 2021 10:42:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:49412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234109AbhCOOC5 (ORCPT ); Mon, 15 Mar 2021 10:02:57 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 797BE64EF3; Mon, 15 Mar 2021 14:02:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816976; bh=33wxDA+U8uhcNj+hgQP2X8Hi+2CrCVx0NpPPF+yWc+0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=j4Clv8jYp1HEdCq5msGDycbgrcGpzSvVQipSIOUO7IfvF/OZCLxJV5+dXIXq1nbUg /h0T6VKLArkLXGE26o1IAiZ9BXWB3vUwiPR/Foz0uiMJkOESsggilV3wo0InuougGt 0caBQcr+B6b8FAm27FcsypQ3QzV+QrKTlk7xvYnA= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shile Zhang Subject: [PATCH 5.10 223/290] misc/pvpanic: Export module FDT device table Date: Mon, 15 Mar 2021 14:55:16 +0100 Message-Id: <20210315135549.511578274@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135541.921894249@linuxfoundation.org> References: <20210315135541.921894249@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 = {