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: 9173477 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 160706075D for ; Mon, 13 Jun 2016 15:49:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0807220223 for ; Mon, 13 Jun 2016 15:49:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EFA6825404; Mon, 13 Jun 2016 15:49:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 95B0820223 for ; Mon, 13 Jun 2016 15:49:29 +0000 (UTC) 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" X-Virus-Scanned: ClamAV using ClamSMTP 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,