From patchwork Mon Feb 22 21:08:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 102720 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1476597lbl; Mon, 22 Feb 2016 13:09:08 -0800 (PST) X-Received: by 10.98.14.79 with SMTP id w76mr40913977pfi.1.1456175347888; Mon, 22 Feb 2016 13:09:07 -0800 (PST) Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTP id ty8si41970275pac.61.2016.02.22.13.09.07; Mon, 22 Feb 2016 13:09:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 815586E2B3; Mon, 22 Feb 2016 21:09:05 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.13]) by gabe.freedesktop.org (Postfix) with ESMTPS id C3C366E2B3 for ; Mon, 22 Feb 2016 21:09:02 +0000 (UTC) Received: from wuerfel.lan. ([78.42.132.4]) by mrelayeu.kundenserver.de (mreue104) with ESMTPA (Nemesis) id 0MUo3w-1aSL010AYO-00YDT6; Mon, 22 Feb 2016 22:08:57 +0100 From: Arnd Bergmann To: Rob Clark Subject: [PATCH 0/8] drm: msm: module rework Date: Mon, 22 Feb 2016 22:08:34 +0100 Message-Id: <1456175331-714117-1-git-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lists.freedesktop.org, Arnd Bergmann , linux-arm-kernel@lists.infradead.org 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" I saw some regressions on today's Linux-next kernel after the Makefiles got reworked and tried to come up with a quick fix. This ended up taking much longer, but the new version should be cleaner and I no longer get any build errors in this driver. The first two patches are just preparation to avoid the namespace problems with global symbols and the module name. The next five patches separate out each subdirectory that has its own Makefile into a separate loadable module. The final patch is just a nice addon, it should work in theory but this needs to be tested well. Arnd