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: 2230461 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork1.kernel.org (Postfix) with ESMTP id ED89F3FC8F for ; Thu, 7 Mar 2013 07:18:28 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r277EbdG019869; Thu, 7 Mar 2013 01:14:37 -0600 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r277EbjS023722; Thu, 7 Mar 2013 01:14:37 -0600 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.1.323.3; Thu, 7 Mar 2013 01:14:36 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r277EZOR030515; Thu, 7 Mar 2013 01:14:35 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id AA70E80627; Thu, 7 Mar 2013 01:14:35 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id BC8A380626 for ; Thu, 7 Mar 2013 01:14:34 -0600 (CST) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r277EY4Q026799 for ; Thu, 7 Mar 2013 01:14:34 -0600 (CST) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id r277EXmB010035 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 7 Mar 2013 01:14:34 -0600 Received: from [216.82.242.147:17993] by server-16.bemta-8.messagelabs.com id BD/3C-32688-95E38315; Thu, 07 Mar 2013 07:14:33 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-3.tower-95.messagelabs.com!1362640469!21961828!1 X-Originating-IP: [209.85.160.42] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.8.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 32631 invoked from network); 7 Mar 2013 07:14:30 -0000 Received: from mail-pb0-f42.google.com (HELO mail-pb0-f42.google.com) (209.85.160.42) by server-3.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 7 Mar 2013 07:14:30 -0000 Received: by mail-pb0-f42.google.com with SMTP id xb4so155741pbc.29 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 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 CC: DLOS , LKML X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com 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) {