From patchwork Tue Apr 8 13:05:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 3948841 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 81B89BFF02 for ; Tue, 8 Apr 2014 13:05:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6FD37203AF for ; Tue, 8 Apr 2014 13:05:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B86782039C for ; Tue, 8 Apr 2014 13:05:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756207AbaDHNFS (ORCPT ); Tue, 8 Apr 2014 09:05:18 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:65157 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756121AbaDHNFS (ORCPT ); Tue, 8 Apr 2014 09:05:18 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N3P00EP9R0SZV40@mailout1.samsung.com> for linux-media@vger.kernel.org; Tue, 08 Apr 2014 22:05:16 +0900 (KST) X-AuditID: cbfee61a-b7fb26d00000724f-59-5343f40ba2a7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E1.D8.29263.B04F3435; Tue, 08 Apr 2014 22:05:15 +0900 (KST) Content-transfer-encoding: 8BIT Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N3P00M61R0H5E60@mmp2.samsung.com>; Tue, 08 Apr 2014 22:05:15 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: Sylwester Nawrocki Subject: [PATCH] s5c73m3: Add missing rename of v4l2_of_get_next_endpoint() function Date: Tue, 08 Apr 2014 15:05:03 +0200 Message-id: <1396962303-412-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprOLMWRmVeSWpSXmKPExsVy+t9jQV3uL87BBv9eWFv0bNjKanH4TTur A5NH35ZVjB6fN8kFMEVx2aSk5mSWpRbp2yVwZaz72Mle8IezYsq+TuYGxuMcXYycHBICJhJT H11ih7DFJC7cW8/WxcjFISQwnVFia8N2JpAEr4CgxI/J91i6GDk4mAXkJY5cygYJMwuoS0ya t4gZxBYS6GCS2DczE8RmEzCU6D3axwhiiwCVP+m9wQZRry8xd8tSsLiwQJjE5V1vwPayCKhK bD/xnxFkPK+Ai8TnJ8YgpoSAgsScSTYTGPlmIblhFsINs5DcsICReRWjaGpBckFxUnquoV5x Ym5xaV66XnJ+7iZGcHA9k9rBuLLB4hCjAAejEg/vydfOwUKsiWXFlbmHGCU4mJVEeCuOAYV4 UxIrq1KL8uOLSnNSiw8xSnOwKInzHmi1DhQSSE8sSc1OTS1ILYLJMnFwSjUwsuqe/DTzlcsz 7SKWp89nbJqU2ZXkeODhko3pSzcs2d9+rjKpndn34eOV00Um+1zb+kyZ/cdjFf5VSWcWf9ru OGGa+0eBjiO5jzrm3/qdIKMwM1xFXXKGfNX5gFZxrhNe9Zt+3ihZmb8tWyu39k7y2jvyDDt8 THKW260vup37st+RJ4E/96nKTiWW4oxEQy3mouJEAIHx8TgqAgAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes following build error: CC drivers/media/i2c/s5c73m3/s5c73m3-core.o CC drivers/md/dm-ioctl.o CC net/ipv4/inet_lro.o drivers/media/i2c/s5c73m3/s5c73m3-core.c: In function ‘s5c73m3_get_platform_data’: drivers/media/i2c/s5c73m3/s5c73m3-core.c:1619:2: error: implicit declaration of function ‘v4l2_of_get_next_endpoint’ [-Werror=implicit-function-declaration] drivers/media/i2c/s5c73m3/s5c73m3-core.c:1619:10: warning: assignment makes pointer from integer without a cast [enabled by default] Signed-off-by: Sylwester Nawrocki --- drivers/media/i2c/s5c73m3/s5c73m3-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c index a445930..ee0f57e 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c +++ b/drivers/media/i2c/s5c73m3/s5c73m3-core.c @@ -1616,7 +1616,7 @@ static int s5c73m3_get_platform_data(struct s5c73m3 *state) if (ret < 0) return -EINVAL; - node_ep = v4l2_of_get_next_endpoint(node, NULL); + node_ep = of_graph_get_next_endpoint(node, NULL); if (!node_ep) { dev_warn(dev, "no endpoint defined for node: %s\n", node->full_name);