From patchwork Thu Mar 7 07:14:21 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2230451 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id CF7B43FC8F for ; Thu, 7 Mar 2013 07:14:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753260Ab3CGHOc (ORCPT ); Thu, 7 Mar 2013 02:14:32 -0500 Received: from mail-pb0-f43.google.com ([209.85.160.43]:55425 "EHLO mail-pb0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751184Ab3CGHOa (ORCPT ); Thu, 7 Mar 2013 02:14:30 -0500 Received: by mail-pb0-f43.google.com with SMTP id md12so159019pbc.2 for ; Wed, 06 Mar 2013 23:14:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=L9MdsDPwG45uhn9KpNd1La70Ue5872Ozez/NNq2M4Ac=; b=IQzqPPJ86ML8dtFUVWg9mhm2wBVPINaBB3W56SwzvVrIGDwgmc2oS/iCX93twnWO/2 P6zMtRveBgqVnSJcCM+4CUe39BO8piURBJp8PJ5JzL+frmRDUtD+AhS8kIMqbceOcxri KvbI9V48Q7wd6LrN4spqaoHpWj6S+ZAZ71GiG9YLdyYdA8fbgBmizbuJ+xVJF6XccnBR 83eIurk9kK6+/VUK0Q76fwNIR6lsKGgOXhVDUkigHszKbadqj1SGMQof/PSeMK07tleU 2tiXWb4GiT73KNsm3unkchKcJrGu+md9dyec1DeSCtlTcgh0NyAmiwFWn+yKnUy8x3yV 3vVg== X-Received: by 10.66.81.164 with SMTP id b4mr1423083pay.197.1362640469632; Wed, 06 Mar 2013 23:14:29 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id eg1sm690911pbb.33.2013.03.06.23.14.25 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 06 Mar 2013 23:14:28 -0800 (PST) From: Prabhakar lad To: LMML Cc: LKML , DLOS , Sekhar Nori , "Lad, Prabhakar" Subject: [PATCH] davinci: vpif: Fix module build for capture and display Date: Thu, 7 Mar 2013 12:44:21 +0530 Message-Id: <1362640461-29106-1-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Lad, Prabhakar export the symbols which are used by two modules vpif_capture and vpif_display. This patch fixes following error: ERROR: "ch_params" [drivers/media/platform/davinci/vpif_display.ko] undefined! ERROR: "vpif_ch_params_count" [drivers/media/platform/davinci/vpif_display.ko] undefined! ERROR: "vpif_base" [drivers/media/platform/davinci/vpif_display.ko] undefined! ERROR: "ch_params" [drivers/media/platform/davinci/vpif_capture.ko] undefined! ERROR: "vpif_ch_params_count" [drivers/media/platform/davinci/vpif_capture.ko] undefined! ERROR: "vpif_base" [drivers/media/platform/davinci/vpif_capture.ko] undefined! make[1]: *** [__modpost] Error 1 Reported-by: Sekhar Nori Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c index 28638a8..8fbb4a2 100644 --- a/drivers/media/platform/davinci/vpif.c +++ b/drivers/media/platform/davinci/vpif.c @@ -44,6 +44,8 @@ static struct resource *res; spinlock_t vpif_lock; void __iomem *vpif_base; +EXPORT_SYMBOL(vpif_base); + struct clk *vpif_clk; /** @@ -220,8 +222,10 @@ const struct vpif_channel_config_params ch_params[] = { .stdid = V4L2_STD_625_50, }, }; +EXPORT_SYMBOL(ch_params); const unsigned int vpif_ch_params_count = ARRAY_SIZE(ch_params); +EXPORT_SYMBOL(vpif_ch_params_count); static inline void vpif_wr_bit(u32 reg, u32 bit, u32 val) {