From patchwork Mon Jun 23 01:14:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 4397551 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E2317BEEAA for ; Mon, 23 Jun 2014 01:48:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 243262024F for ; Mon, 23 Jun 2014 01:48:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 0F319201FA for ; Mon, 23 Jun 2014 01:48:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5C6DA6E066; Sun, 22 Jun 2014 18:48:34 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-yk0-f174.google.com (mail-yk0-f174.google.com [209.85.160.174]) by gabe.freedesktop.org (Postfix) with ESMTP id 581C36E048 for ; Sun, 22 Jun 2014 18:15:27 -0700 (PDT) Received: by mail-yk0-f174.google.com with SMTP id 19so4313212ykq.33 for ; Sun, 22 Jun 2014 18:15:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=eg6pMxvf9H108mruQTfpl+7d3Xa7l++Cs20A7s/b0Ms=; b=E8Pg97VH5gTvJ1JrHZs1sD+avKHcoDPw4Je6V2y7uIzwkaGJscWAiWkfXLM3h+wzJn A0ziko7KVPy/T498ldrdJpzpgM/C8ceOLoo3DY3egmlFNH6puL9G8dVw3n/oRzG+VVJZ v6UOCpfCF9PqUdvra56fRlXCgg8iu70Km5HOIHY5k4G/VBHP7fhaGQJ8REauO+ZLa/np +XuV1YTg09mRIhG5c+J8u2c+dUIWOYMTloYlkRv4s9DfBfKJvo3NbCa4IvLK6R2K8GbX AJJu+xIQErzW72voqazgG8f7PLalR+3oNozWGGwZGqvgi7SSFDhubTcTGU7EHVmms9cF 4VFQ== X-Gm-Message-State: ALoCoQn78V/mEkG9NMS2aPGRTrRpi6W3wxWXmdG4daNHNvMUKj73eBg0ErAAez6MjAadOoo5UXZk X-Received: by 10.236.86.145 with SMTP id w17mr30055184yhe.5.1403486127464; Sun, 22 Jun 2014 18:15:27 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.192]) by mx.google.com with ESMTPSA id n68sm27571858yhe.23.2014.06.22.18.15.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Jun 2014 18:15:27 -0700 (PDT) From: Ezequiel Garcia To: Subject: [PATCH] drm: Change link order to load modules first Date: Sun, 22 Jun 2014 22:14:36 -0300 Message-Id: <1403486076-1397-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Sun, 22 Jun 2014 18:48:22 -0700 Cc: Ezequiel Garcia X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Given panels and I2C-connected encoders are required by DRM drivers, we need to change the link order so these are probed first. This commit moves all the i2c, panel and bridge helper drivers so they are probed before the DRM drivers. Signed-off-by: Ezequiel Garcia --- drivers/gpu/drm/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/Makefile b/drivers/gpu/drm/Makefile index dd2ba42..552eaad 100644 --- a/drivers/gpu/drm/Makefile +++ b/drivers/gpu/drm/Makefile @@ -33,6 +33,10 @@ obj-$(CONFIG_DRM_KMS_HELPER) += drm_kms_helper.o CFLAGS_drm_trace_points.o := -I$(src) +obj-y += i2c/ +obj-y += panel/ +obj-y += bridge/ + obj-$(CONFIG_DRM) += drm.o obj-$(CONFIG_DRM_MIPI_DSI) += drm_mipi_dsi.o obj-$(CONFIG_DRM_USB) += drm_usb.o @@ -63,6 +67,3 @@ obj-$(CONFIG_DRM_QXL) += qxl/ obj-$(CONFIG_DRM_BOCHS) += bochs/ obj-$(CONFIG_DRM_MSM) += msm/ obj-$(CONFIG_DRM_TEGRA) += tegra/ -obj-y += i2c/ -obj-y += panel/ -obj-y += bridge/