From patchwork Mon Jun 13 15:48:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 69894 Delivered-To: patch@linaro.org Received: by 10.140.106.246 with SMTP id e109csp1609970qgf; Mon, 13 Jun 2016 08:49:29 -0700 (PDT) X-Received: by 10.36.62.133 with SMTP id s127mr18867358its.98.1465832969781; Mon, 13 Jun 2016 08:49:29 -0700 (PDT) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTP id h18si28519001pfk.107.2016.06.13.08.49.29; Mon, 13 Jun 2016 08:49:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B8236E528; Mon, 13 Jun 2016 15:49:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::230]) by gabe.freedesktop.org (Postfix) with ESMTPS id EFD786E528 for ; Mon, 13 Jun 2016 15:49:24 +0000 (UTC) Received: by mail-wm0-x230.google.com with SMTP id v199so84351258wmv.0 for ; Mon, 13 Jun 2016 08:49:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=tqob0AjrIwm8BD1i6ZlUEbXBPD5qn93oAGiHuXKI1pE=; b=Stxv+0MJi0wEDLj3SUtSNwlshhGLwlM5wf10zEWUdZZKkFsdJfxevShEqj2x0D59le zDSuJqaHn2zSe2KxZJQnzo8uX7zyil9HgpdZ7mGFjZ032hzU01hLxjhjBGxZagGLaN9j 92s0DwmfptshrnlipKfNnO6bFHpw0gT0Z9o3E= 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=tqob0AjrIwm8BD1i6ZlUEbXBPD5qn93oAGiHuXKI1pE=; b=M7P0RFwgyBLtflepBwBSO6DD7tRqQEPgaj2t4kepjFgk4l6+OtFnwLzo3Z/po6JHCz 5h3A7BSycMhYB05vcFlPXnDd0UtJPwWTB6AwM+Acgcwj32WxI5sQT+ketk5RHYy0+wgG BrAmGuuVEiWV4MhTDQrPMJScF0IOAWu2AINz7nd3EHtsu4FQubtu2cTZ1lCJnC0umYZL iy2CJMfpzFMwgWws1FFfjD8hOt1hDG8/sEG5YQplcSwSX5tzUZcrRw/dnTw+6oBrreBQ ivrfXMEwyG6Q5zYS22qKHoXOE83qBd8OPTa2OC8eTzN+lFq1iQLnBqhrcs8wO9+CKBld 5PDw== X-Gm-Message-State: ALyK8tI5SGfDGMjhfY9bFHmyF/OkF6PHq6zUqq98Bqz4W3FJa9YzHHB4kfc3lt5+YnewQlZl X-Received: by 10.28.63.134 with SMTP id m128mr1760088wma.97.1465832963126; Mon, 13 Jun 2016 08:49:23 -0700 (PDT) Received: from lmenx321.st.com. ([80.12.58.68]) by smtp.gmail.com with ESMTPSA id e8sm15026444wma.2.2016.06.13.08.49.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 13 Jun 2016 08:49:22 -0700 (PDT) From: Benjamin Gaignard To: dri-devel@lists.freedesktop.org Subject: [PATCH] drm: sti: use drm_platform_set_busid() helper Date: Mon, 13 Jun 2016 17:48:15 +0200 Message-Id: <1465832895-10485-1-git-send-email-benjamin.gaignard@linaro.org> X-Mailer: git-send-email 1.9.1 Cc: vincent.abriou@st.com, fabien.dessenne@st.com X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 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" Fill set_busid field with drm_platform_set_busid helper function Signed-off-by: Benjamin Gaignard --- drivers/gpu/drm/sti/sti_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index b440617..98d67b4 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++ b/drivers/gpu/drm/sti/sti_drv.c @@ -304,6 +304,7 @@ static struct drm_driver sti_driver = { .driver_features = DRIVER_HAVE_IRQ | DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_ATOMIC, .load = sti_load, + .set_busid = drm_platform_set_busid, .gem_free_object_unlocked = drm_gem_cma_free_object, .gem_vm_ops = &drm_gem_cma_vm_ops, .dumb_create = drm_gem_cma_dumb_create,