From patchwork Wed Nov 15 15:24:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 10059737 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 BA9306019D for ; Wed, 15 Nov 2017 15:25:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AAB9D2A011 for ; Wed, 15 Nov 2017 15:25:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9FA282A030; Wed, 15 Nov 2017 15:25:16 +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.2 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 57BAB2A01A for ; Wed, 15 Nov 2017 15:25:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=RbjcREn/PcEGSRjc7iMPQPwywfJPGqOcBmnN++kIQUg=; b=J2Gkk9HL7G0gSwhJv8++xrhxRO lWq7xx+Tu1B1ZWK8/5vaKxYSFbXigGYM5FRA+VpAbXlY2E8W/6KVn9+iu0cMRKNg10hVxi6QFEkhX cFkaHvpdVw7CaQlzfAEBJ5WSET0oMrQwkgOdO/n0alhH3EFk9m7Nm+UT0MtSzFKPO2MAnE9ZIu0Nv udg2u/GXi0UHUXspLeky+ujFO+3CBHRIr2Nlczs3UJhgpBt4qnKglDAgv3ZgDlT01PPMPDRdIdDut 8cGWlp+T0YL+dz35s+8uSoXV4cO6pqwbN3sbdMA7lsxVPbRGGqmktk9vUkoJHSo5NT6Vht6JqgNQK GZkapk7w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eEzYx-0004Th-9G; Wed, 15 Nov 2017 15:25:15 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEzYl-0003I4-He for linux-mediatek@lists.infradead.org; Wed, 15 Nov 2017 15:25:07 +0000 Received: by mail-wm0-x241.google.com with SMTP id l8so3696108wmg.4 for ; Wed, 15 Nov 2017 07:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=1axW4uuhZskVcbYqzIUB6Ws9pLXMnwV7E3QaPS8zY34=; b=tuuYXfpZLOig/rtK0tenWhNsiSEJrbnxDzYiRxgPGLLSCzcanWEHa9IBF7S9ekr/Er 8aIyFuzZ/80uFnSEdeAb0KgVtKywZ3ocasM2fOVHkODAUdJZfIQoWy3tTQ3gFS2sZ+l+ E+bYtQtaYo5pXfNBEZqUQoj23fBbmd6Ern8AZXGbQ+MnozyK1v1kF7Oyo0alQ9xgDh9u UZ/2cjDVSgvU3p4TtXBnzAPgKhiA+KWlPyBu9wa0EB85i3goNb/V6IOxbsCynizXgjX3 slL13VN8youhllQHG8S9HG8RmbF22NlRmzsNwQGVXoqNGw7pMAJlEJ2f1wHX+eWlNmjX YSxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=1axW4uuhZskVcbYqzIUB6Ws9pLXMnwV7E3QaPS8zY34=; b=bWkHCf4n3GpI9Qp55pzGHT5YL0zv/bQgk8S4G87WpN+bl5K+0iEo7SZjEhE/YsUUsN IShX2lcK2EqJVi60O04LK4Uoyi413pF/5Dnbatr9L4JrpuF9Uvv6VZP2vDhEc3VwFPYO Dm1KHUiB7yhuBOR+8mnQWWYNdGKnlLPQUhLwDDKcReZB6YQ8R8BcBDgpVFrLPQGSu+VN BX7xQPpb65RzEnshVqHw0C0jm7RYMSbbRqDF8Zbg4UZPwdgTimkH6CGWCoDiK/Fu1CM9 FIr7V+BPAVwAiWIDr/qxKEV7vpKtnf3njMLTEIPqVZFiFCIWDn/ru+lRXoSKzdBDledj u5+g== X-Gm-Message-State: AJaThX5/mQ2BZe9xSY8J2D0MPvhrH+OMPVZenbhtXfWv4AGya7adA688 8TjbJS8IIkmln6XL1zP46h/agWU= X-Google-Smtp-Source: AGs4zManK/xqQsrtntL+vJEkoEGGVYQTaZhu8jnR6fnFNKQWu+SyzxcDas25t+RJF0U5EqvvtgQuBg== X-Received: by 10.28.137.80 with SMTP id l77mr6373011wmd.24.1510759481674; Wed, 15 Nov 2017 07:24:41 -0800 (PST) Received: from groucho.site (ipbcc0ce42.dynamic.kabel-deutschland.de. [188.192.206.66]) by smtp.gmail.com with ESMTPSA id s12sm51547104wrc.89.2017.11.15.07.24.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 15 Nov 2017 07:24:41 -0800 (PST) From: Ulrich Hecht To: linux-mediatek@lists.infradead.org Subject: [POC 10/16] drm/img-rogue: remove .set_busid methods from drm_driver Date: Wed, 15 Nov 2017 16:24:17 +0100 Message-Id: <1510759463-30201-11-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510759463-30201-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1510759463-30201-1-git-send-email-ulrich.hecht+renesas@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171115_072503_980322_EBCEC094 X-CRM114-Status: UNSURE ( 6.31 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ulrich Hecht , mbrugger@suse.com, magnus.damm@gmail.com, laurent.pinchart@ideasonboard.com, dri-devel@lists.freedesktop.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP No longer required. Signed-off-by: Ulrich Hecht --- drivers/gpu/drm/img-rogue/1.6/pvr_drm.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c b/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c index f72d382..7439a6f 100644 --- a/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c +++ b/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c @@ -332,16 +332,6 @@ struct drm_driver sPVRDRMDriver = }, #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0)) */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)) -#if defined(LDM_PCI) - .set_busid = drm_pci_set_busid, -#elif defined(LDM_PLATFORM) - .set_busid = drm_platform_set_busid, -#else -#error "LDM_PLATFORM or LDM_PCI must be defined" -#endif -#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)) */ - .name = PVR_DRM_NAME, .desc = PVR_DRM_DESC, .date = PVR_DRM_DATE,