From mboxrd@z Thu Jan 1 00:00:00 1970 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.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS 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 96367C3F2CD for ; Tue, 3 Mar 2020 08:25:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7157C208C3 for ; Tue, 3 Mar 2020 08:25:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="AqUyKD02" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7157C208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 950EF6EA27; Tue, 3 Mar 2020 08:24:17 +0000 (UTC) Received: from crapouillou.net (outils.crapouillou.net [89.234.176.41]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3B6E289D46 for ; Mon, 2 Mar 2020 19:22:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1583176920; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BdwneqTr2id/gIeZNxFxbnKoAw05xVADq6/gmIhZwg4=; b=AqUyKD024PGi1OHtNmOIPdseDG4JSqAnMjoEWug5pu0ruALpVlC4z6ZX1ymIeD1q0aQf9b 9AArX0blaUj+5gfaNF92anigg+B3rPch0xaYfXhL6gHleYjUJQxoiR6rkhjf58LqE8wxWn tgFLcqWQSGaEN9Ga4UYZDzVDcS0z444= Date: Mon, 02 Mar 2020 16:21:37 -0300 From: Paul Cercueil Subject: Re: [RFC v2 3/8] drm: ingenic-drm: add MODULE_DEVICE_TABLE To: "H. Nikolaus Schaller" Message-Id: <1583176897.3.4@crapouillou.net> In-Reply-To: References: MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 03 Mar 2020 08:24:06 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Paul Boddie , Geert Uytterhoeven , Paul Burton , linux-gpio@vger.kernel.org, David Airlie , kernel@pyra-handheld.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ralf Baechle , linux-mips@vger.kernel.org, Andi Kleen , Rob Herring , Krzysztof Kozlowski , Miquel Raynal , letux-kernel@openphoenux.org, "Eric W. Biederman" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Nikolaus, Le ven., f=E9vr. 28, 2020 at 19:19, H. Nikolaus Schaller = a =E9crit : > so that the driver can load by matching the device tree > if compiled as module. > = > Signed-off-by: H. Nikolaus Schaller > --- > drivers/gpu/drm/ingenic/ingenic-drm.c | 2 ++ > 1 file changed, 2 insertions(+) > = > diff --git a/drivers/gpu/drm/ingenic/ingenic-drm.c = > b/drivers/gpu/drm/ingenic/ingenic-drm.c > index 6d47ef7b148c..d8617096dd8e 100644 > --- a/drivers/gpu/drm/ingenic/ingenic-drm.c > +++ b/drivers/gpu/drm/ingenic/ingenic-drm.c > @@ -844,6 +844,8 @@ static const struct of_device_id = > ingenic_drm_of_match[] =3D { > { /* sentinel */ }, > }; > = > +MODULE_DEVICE_TABLE(of, ingenic_drm_of_match); Please remove the blank line above the MODULE_DEVICE_TABLE() macro. -Paul > + > static struct platform_driver ingenic_drm_driver =3D { > .driver =3D { > .name =3D "ingenic-drm", > -- > 2.23.0 > = _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel