From patchwork Thu Dec 30 05:35:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sungchun Kang X-Patchwork-Id: 440371 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBUMBEmJ000490 for ; Thu, 30 Dec 2010 22:12:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751485Ab0L3F7T (ORCPT ); Thu, 30 Dec 2010 00:59:19 -0500 Received: from ganesha.gnumonks.org ([213.95.27.120]:39942 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751206Ab0L3F7S (ORCPT ); Thu, 30 Dec 2010 00:59:18 -0500 Received: from uucp by ganesha.gnumonks.org with local-bsmtp (Exim 4.69) (envelope-from ) id 1PYBXh-00030a-KZ; Thu, 30 Dec 2010 06:59:17 +0100 Received: from [12.23.102.184] (helo=localhost.localdomain) by jackpot.kr.gnumonks.org with esmtp (Exim 4.69) (envelope-from ) id 1PYAT7-0003SX-7R; Thu, 30 Dec 2010 13:50:29 +0900 From: Sungchun Kang To: linux-media@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: s.nawrocki@samsung.com, kgene.kim@samsung.com, Sungchun Kang Subject: [PATCH] [media] s5p-fimc: modify name of function for uniformity Date: Thu, 30 Dec 2010 14:35:43 +0900 Message-Id: <1293687343-27424-1-git-send-email-sungchun.kang@samsung.com> X-Mailer: git-send-email 1.6.2.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 30 Dec 2010 22:12:13 +0000 (UTC) diff --git a/drivers/media/video/s5p-fimc/fimc-capture.c b/drivers/media/video/s5p-fimc/fimc-capture.c index 4e4441f..fdef450 100644 --- a/drivers/media/video/s5p-fimc/fimc-capture.c +++ b/drivers/media/video/s5p-fimc/fimc-capture.c @@ -155,7 +155,7 @@ int fimc_vid_cap_buf_queue(struct fimc_dev *fimc, return ret; if (test_bit(ST_CAPT_STREAM, &fimc->state)) { - fimc_pending_queue_add(cap, fimc_vb); + pending_queue_add(cap, fimc_vb); } else { /* Setup the buffer directly for processing. */ int buf_id = (cap->reqbufs_count == 1) ? -1 : cap->buf_index; diff --git a/drivers/media/video/s5p-fimc/fimc-core.h b/drivers/media/video/s5p-fimc/fimc-core.h index 1f1beaa..5bd9d93 100644 --- a/drivers/media/video/s5p-fimc/fimc-core.h +++ b/drivers/media/video/s5p-fimc/fimc-core.h @@ -668,7 +668,7 @@ active_queue_pop(struct fimc_vid_cap *vid_cap) } /* Add video buffer to the capture pending buffers queue */ -static inline void fimc_pending_queue_add(struct fimc_vid_cap *vid_cap, +static inline void pending_queue_add(struct fimc_vid_cap *vid_cap, struct fimc_vid_buffer *buf) { list_add_tail(&buf->list, &vid_cap->pending_buf_q);