From patchwork Tue Jan 18 16:14:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Jones X-Patchwork-Id: 5622 Return-path: Envelope-to: mchehab@pedra Delivery-date: Tue, 18 Jan 2011 14:28:18 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1PfEPq-0005in-G8 for mchehab@pedra; Tue, 18 Jan 2011 14:28:18 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Tue, 18 Jan 2011 14:28:18 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PfELv-0007Eg-OA; Tue, 18 Jan 2011 16:24:16 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751781Ab1ARQYO (ORCPT + 1 other); Tue, 18 Jan 2011 11:24:14 -0500 Received: from mail2.matrix-vision.com ([85.214.244.251]:51399 "EHLO mail2.matrix-vision.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751122Ab1ARQYN (ORCPT ); Tue, 18 Jan 2011 11:24:13 -0500 X-Greylist: delayed 574 seconds by postgrey-1.27 at vger.kernel.org; Tue, 18 Jan 2011 11:24:13 EST Received: from mail2.matrix-vision.com (localhost [127.0.0.1]) by mail2.matrix-vision.com (Postfix) with ESMTP id 3A89241400; Tue, 18 Jan 2011 17:14:38 +0100 (CET) Received: from erinome (g2.matrix-vision.com [80.152.136.245]) by mail2.matrix-vision.com (Postfix) with ESMTPA id 10909413ED; Tue, 18 Jan 2011 17:14:38 +0100 (CET) Received: from erinome (localhost [127.0.0.1]) by erinome (Postfix) with ESMTP id B77EB6F8A; Tue, 18 Jan 2011 17:14:37 +0100 (CET) Received: by erinome (Postfix, from userid 108) id ACB346F9C; Tue, 18 Jan 2011 17:14:37 +0100 (CET) Received: from [192.168.65.46] (host65-46.intern.matrix-vision.de [192.168.65.46]) by erinome (Postfix) with ESMTPA id 872606F8A; Tue, 18 Jan 2011 17:14:37 +0100 (CET) Message-ID: <4D35BC6D.1050801@matrix-vision.de> Date: Tue, 18 Jan 2011 17:14:37 +0100 From: Michael Jones User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101029 Lightning/1.0b2 Thunderbird/3.1.6 MIME-Version: 1.0 To: Laurent Pinchart , Sakari Ailus CC: Linux Media Mailing List Subject: link error w/ media-0006-sensors X-MV-Disclaimer: true (erinome) X-AV-Checked: ClamAV using ClamSMTP (erinome) X-AV-Checked: ClamAV using ClamSMTP (mail2) Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: Hi Laurent & Sakari, On Laurent's media-0006-sensors branch, when compiling with CONFIG_VIDEO_OMAP3=m, I got the following linking error: ERROR: "omap_pm_set_min_bus_tput" [drivers/media/video/isp/omap3-isp.ko] undefined! I can get rid of the error with the patch below. But as always, I wonder: Why didn't anybody else come across this error? Are you all compiling with VIDEO_OMAP3=y? Is there a config file somewhere I can see where someone is using that? And would anything be wrong with the patch below? -Michael MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/plat-omap/omap-pm-noop.c b/arch/arm/plat-omap/omap-pm-noop.c index e129ce8..9e0bcb6 100644 --- a/arch/arm/plat-omap/omap-pm-noop.c +++ b/arch/arm/plat-omap/omap-pm-noop.c @@ -88,6 +88,7 @@ int omap_pm_set_min_bus_tput(struct device *dev, u8 agent_id, unsigned long r) return 0; } +EXPORT_SYMBOL_GPL(omap_pm_set_min_bus_tput); int omap_pm_set_max_dev_wakeup_lat(struct device *req_dev, struct device *dev, long t)