From patchwork Wed May 13 09:44:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 226015 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3401BC2D0F9 for ; Wed, 13 May 2020 09:49:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1300623126 for ; Wed, 13 May 2020 09:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589363395; bh=EmhaWnMJs2rNLcaSpb9zLJURxrpzqCuRzKcepAnQlmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=J850XC2vru6jXPCM098AXKa1ogAoYLhI1OMm68JxdxvmxjJYQ/rdnuapFl+jond7B MZS00AgNuuIHHuoqDkXooDVra7tzvH61GSNgB8/aOSxulfeDOpm6/9HZel3pdoUfrZ y2wYmOD4bypGIoLuX8yoaMR58/aFllaj2S9rhHJ4= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732715AbgEMJtx (ORCPT ); Wed, 13 May 2020 05:49:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:49212 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733282AbgEMJtw (ORCPT ); Wed, 13 May 2020 05:49:52 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0BE4B206D6; Wed, 13 May 2020 09:49:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589363392; bh=EmhaWnMJs2rNLcaSpb9zLJURxrpzqCuRzKcepAnQlmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eFsvQbXNy3K8aUDfh80QXZwLfLcAGMPXO9w3KHPGLzLOvrvjND0nCquDGlkG21OPp rYIfMAoNfTDSVZSeOJBMsdlbInUHrG2DIKWefPvoMDWMtoQ4xKwYfprf7NFIiZ11sn ZDuQI3ol9wWqaudmdhJeb4kOBIU5KEzdRerUd8hA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, "H. Nikolaus Schaller" , Paul Cercueil Subject: [PATCH 5.4 56/90] drm: ingenic-drm: add MODULE_DEVICE_TABLE Date: Wed, 13 May 2020 11:44:52 +0200 Message-Id: <20200513094415.324244497@linuxfoundation.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200513094408.810028856@linuxfoundation.org> References: <20200513094408.810028856@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: H. Nikolaus Schaller commit c59359a02d14a7256cd508a4886b7d2012df2363 upstream. so that the driver can load by matching the device tree if compiled as module. Cc: stable@vger.kernel.org # v5.3+ Fixes: 90b86fcc47b4 ("DRM: Add KMS driver for the Ingenic JZ47xx SoCs") Signed-off-by: H. Nikolaus Schaller Signed-off-by: Paul Cercueil Link: https://patchwork.freedesktop.org/patch/msgid/1694a29b7a3449b6b662cec33d1b33f2ee0b174a.1588574111.git.hns@goldelico.com Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/ingenic/ingenic-drm.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/gpu/drm/ingenic/ingenic-drm.c +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c @@ -824,6 +824,7 @@ static const struct of_device_id ingenic { .compatible = "ingenic,jz4725b-lcd", .data = &jz4725b_soc_info }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, ingenic_drm_of_match); static struct platform_driver ingenic_drm_driver = { .driver = {