From patchwork Thu Apr 25 17:28:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 2489231 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 54D12DF5B1 for ; Thu, 25 Apr 2013 17:30:25 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 4AB4AE6608 for ; Thu, 25 Apr 2013 10:30:25 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by gabe.freedesktop.org (Postfix) with ESMTP id 96116E617E for ; Thu, 25 Apr 2013 10:29:15 -0700 (PDT) Received: from wuerfel.lan (HSI-KBW-095-208-002-043.hsi5.kabel-badenwuerttemberg.de [95.208.2.43]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MANKs-1UKwNm2qh0-00Bbl6; Thu, 25 Apr 2013 19:29:04 +0200 From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/21] drm: export drm_vm_open_locked Date: Thu, 25 Apr 2013 19:28:52 +0200 Message-Id: <1366910944-3033663-10-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1366910944-3033663-1-git-send-email-arnd@arndb.de> References: <1366910944-3033663-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:pCssDLMZdOy+Gasw6F2FZO9rR0uFXBcUBfFZdelr0rn aUt2EzNZMSY0bkQmECHNMjtMnk+iTx9IgDofketucu5lhg/7Y+ 9ogjduUUZTSfOiatubeR56jwGhNJBCTTIjDVdTh48rbdWd7SLn lVpXb5h0X3DziRDrv/1F1sMb8WZZHjFG1w9KUwda+i5RNTBxpz 3xgNWHxa1ohqdEqRApeDYQyV/xDQ9mwlffM+HGkX+AUXQ/jY1H I4MaaHd1zL99lYl+AIdYHVaeiPf32p/qieAJVf7FR3/eg6grHI pVQJ9OeQ13LyHHjvFPaPkx/4eBTyotfBx7u2ZaGBzwWERs1jv4 tz8aIajScdWSStZIDmn8s9t4Sy6epSRtnmFzh1dYW Cc: Arnd Bergmann , Seung-Woo Kim , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Kyungmin Park X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org The EXYNOS DRM driver uses drm_vm_open_locked in its mmap() function, and it can be built as a loadable module, which currently fails. This exports the symbol from the DRM core to avoid ERROR: "drm_vm_open_locked" [drivers/gpu/drm/exynos/exynosdrm.ko] undefined! Signed-off-by: Arnd Bergmann Cc: David Airlie Cc: dri-devel@lists.freedesktop.org Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Acked-by: Inki Dae --- drivers/gpu/drm/drm_vm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c index db7bd29..1d4f7c9 100644 --- a/drivers/gpu/drm/drm_vm.c +++ b/drivers/gpu/drm/drm_vm.c @@ -422,6 +422,7 @@ void drm_vm_open_locked(struct drm_device *dev, list_add(&vma_entry->head, &dev->vmalist); } } +EXPORT_SYMBOL_GPL(drm_vm_open_locked); static void drm_vm_open(struct vm_area_struct *vma) {