Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750894AbbGKNP7 (ORCPT ); Sat, 11 Jul 2015 09:15:59 -0400 Received: from lb1-smtp-cloud3.xs4all.net ([194.109.24.22]:54413 "EHLO lb1-smtp-cloud3.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750701AbbGKNP6 (ORCPT ); Sat, 11 Jul 2015 09:15:58 -0400 Message-ID: <1436620543.2679.13.camel@tiscali.nl> Subject: Re: [PATCH v7 1/4] drm/layerscape: Add Freescale DCU DRM driver From: Paul Bolle To: Jianwei Wang Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, airlied@linux.ie, daniel.vetter@ffwll.ch, mark.yao@rock-chips.com, scottwood@freescale.com, thierry.reding@gmail.com, Alison Wang , Xiubo Li Date: Sat, 11 Jul 2015 15:15:43 +0200 In-Reply-To: <1436527063-44762-1-git-send-email-jianwei.wang@freescale.com> References: <1436527063-44762-1-git-send-email-jianwei.wang@freescale.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 965 Lines: 32 A question and a nit follow. On vr, 2015-07-10 at 19:17 +0800, Jianwei Wang wrote: > --- /dev/null > +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c > +MODULE_ALIAS("platform:fsl-dcu-drm"); Question: this appears to be only useful if there's a corresponding struct platform_device. That is, a platform_device with a "fsl-dcu-drm" .name. It will fire off a "MODALIAS=platform:fsl-dcu-drm" uevent when it's created. I couldn't find this corresponding platform_device. Does it exist? Or is this alias needed for some other reason? > --- /dev/null > +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h > +#define DRIVER_NAME "fsl-dcu-drm" Nit: I don't think DRIVER_NAME is actually used anywhere. Thanks, Paul Bolle -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/