Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3526889pxf; Mon, 15 Mar 2021 11:31:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxoz9tJF2qvBK5m130G2Wug4P5CcPLNE3+LFq0KVfT83l2oSNaaRc36xYLnoz2vTz1aGLR X-Received: by 2002:a17:906:bcc7:: with SMTP id lw7mr13682896ejb.209.1615833116043; Mon, 15 Mar 2021 11:31:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615833116; cv=none; d=google.com; s=arc-20160816; b=JxR90nfoAjGF3p8JIA1McJYA6C34m1NY8h9wfVhRmmme0VOVCoceNUQhmreoAWtIEK AM/eMbB4WbjgcjF08l5Udhibac1FMLlWdy6mljKtuzUKrRycE2+s1Va+m4vXEx+6tWqW F41kvfgABLUDF9zley5dVspkZ3YANyEauhcNMtGd7/DfwUOIqCSz9GRkZVYikenuicjK mItXaHZag/yU8Kfjgs4FgK0DnoXY7rwKBMbB5d6n9rKfSn9cz3HnJypxUQVGzJnC/jDd EsbLXx45ZHzsH38kI9obqst8WbHVTZ8g1th8krXvPDRVbD0aJwsY1+3FA6QBGqxwA6LC 0Hfg== 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=hxu3Gunmghi4zYAUZkQ/y+n5hJuDfd6mQwfCf+fS2IY=; b=hTt7B593k5m8h+GrkvEF8mzy3HpYX5Sb6oX+EUupkwaFTq+exded5gUwqTH6d4KRfX qRNglw5fg774+hHbFe/C4rGeWdfvVNo2P++nEvfJFF5jR3efmIzwhLYiynrIx7mVXDcs DeiHFQ/5nO29OvZ8AOMYEbE5+KyLqECY/GdRX4aSpsXMP2KbUw6IAmS93ZnfJpiE6OWT pMtUsyeY1VQJll6Fm/OVmj+c/CfPvv5LUFpoZPeveG3NSMY7yT8yQt+z22aI6KByu4PG NfoLzdNh/jo1j+2CdDkuDPYQkaihrh3AHBjCmJ21RjqZQtceO9h80hI3ebOpj2EBionT tW2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UEpyQAhc; 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 s7si5762309eja.630.2021.03.15.11.31.33; Mon, 15 Mar 2021 11:31:56 -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=UEpyQAhc; 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 S237095AbhCOOkA (ORCPT + 99 others); Mon, 15 Mar 2021 10:40:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:49058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233772AbhCOOC0 (ORCPT ); Mon, 15 Mar 2021 10:02:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8A74A64E89; Mon, 15 Mar 2021 14:02:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615816945; bh=iJSUvtsb3maAC8bD3ziwMEJcukoB4xLuWwKSkdd9bH4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UEpyQAhc60J2T9Y73ILbmvujNHp0NpxqwvpwHgkx0BzKhe9xK8n429DjxXS0PF1kc q4KbXHAx/AHFNPs1h8SKLlKM6Zxtpa4elvxDG4LvmKPJfoDLROjKq+L72q2d5V/cfS p/xUG0s3G0mXJskVZEtGCvtmqYUdJ0kLQttjM+0o= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shile Zhang Subject: [PATCH 5.11 219/306] misc/pvpanic: Export module FDT device table Date: Mon, 15 Mar 2021 14:54:42 +0100 Message-Id: <20210315135515.017729154@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210315135507.611436477@linuxfoundation.org> References: <20210315135507.611436477@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 @@ -92,6 +92,7 @@ static const struct of_device_id pvpanic { .compatible = "qemu,pvpanic-mmio", }, {} }; +MODULE_DEVICE_TABLE(of, pvpanic_mmio_match); static const struct acpi_device_id pvpanic_device_ids[] = { { "QEMU0001", 0 },