From patchwork Thu Sep 17 14:22:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis de Bethencourt X-Patchwork-Id: 7207951 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id EB8C1BEEC1 for ; Thu, 17 Sep 2015 14:24:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 17DBC20815 for ; Thu, 17 Sep 2015 14:24:14 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46F3020823 for ; Thu, 17 Sep 2015 14:24:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zca55-0002P9-3y; Thu, 17 Sep 2015 14:22:35 +0000 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zca52-0002FB-4S; Thu, 17 Sep 2015 14:22:33 +0000 Received: by wicfx3 with SMTP id fx3so26182523wic.1; Thu, 17 Sep 2015 07:22:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:date:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=QCWyrAzpjUR9JGcnd2IhZdEpKiPd7VlLCusklRaKLeo=; b=Z/Bma0h48JLj9oKixYbYjyXqQ1x7lQtr8KKoajVEBaTjOap4kM1DytaKWfyxMXuKox Ze+qhBfRfXIRbYMfdI5/Qjz2mGQ0l9bgnZZPcti365g8j5MR/497yUT2iO3XdWYd6LA5 yZtBW7hjhgZX5FJeVGHDDTNtVDiN9ZAO1nMryKcd0tMp2Kmnd4Eec58DquLqRRVI8tp6 4KmPcSX0zr7Kkffp7+BPxS/LiBYcwbd54OBeuMl68AVBMXdZ4smZc4T+/321PcxUipca FwwPkdjx2OL5HK+ExWvbVmAKIy2uyo7BQzo87NoKa9hTkMDPOUvr1CFF0fu0w3B1bOlR ScUw== X-Received: by 10.180.99.5 with SMTP id em5mr30803663wib.43.1442499730471; Thu, 17 Sep 2015 07:22:10 -0700 (PDT) Received: from localhost (goodgumbo.baconseed.org. [94.23.38.65]) by smtp.gmail.com with ESMTPSA id m4sm3703140wje.5.2015.09.17.07.22.09 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 17 Sep 2015 07:22:09 -0700 (PDT) From: Luis de Bethencourt X-Google-Original-From: Luis de Bethencourt Date: Thu, 17 Sep 2015 16:22:09 +0200 To: linux-kernel@vger.kernel.org Subject: [PATCH 4/5] drm/rockchip: Fix module autoload for OF platform driver Message-ID: <20150917142209.GA20192@goodgumbo.baconseed.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150917_072232_332013_9E6F0EC3 X-CRM114-Status: GOOD ( 10.75 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Heiko Stuebner , David Airlie , dri-devel@lists.freedesktop.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Mark Yao Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 5d8ae5e..5897851 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c @@ -374,6 +374,7 @@ static const struct of_device_id vop_driver_dt_match[] = { .data = &rk3288_vop }, {}, }; +MODULE_DEVICE_TABLE(of, vop_driver_dt_match); static inline void vop_writel(struct vop *vop, uint32_t offset, uint32_t v) {