From aaa8152d6645cd6c56e0464a7cfabbb8263a132f Mon Sep 17 00:00:00 2001
From: Federico Vaga <federico.vaga@gmail.com>
Date: Fri, 2 Nov 2012 22:26:48 +0100
Subject: [PATCH] (incompatible) rename: __first_enabled_chan to
 zio_first_enabled_chan

This function can be used outside the ZIO core. At the moment there are
not driver which use this function, but it can be useful in the future.

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Alessandro Rubini <rubini@gnudd.com>
---
 include/linux/zio.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/zio.h b/include/linux/zio.h
index 78df1a5..1059fbd 100644
--- a/include/linux/zio.h
+++ b/include/linux/zio.h
@@ -245,7 +245,7 @@ enum zio_chan_flags {
 };
 
 /* get each channel from cset */
-static inline struct zio_channel *__first_enabled_chan(struct zio_cset *cset,
+static inline struct zio_channel *zio_first_enabled_chan(struct zio_cset *cset,
 						struct zio_channel *chan)
 {
 	if (unlikely(chan - cset->chan >= cset->n_chan))
@@ -260,7 +260,7 @@ static inline struct zio_channel *__first_enabled_chan(struct zio_cset *cset,
 }
 #define chan_for_each(cptr, cset)				\
 		for (cptr = cset->chan;				\
-		     (cptr = __first_enabled_chan(cset, cptr));	\
+		     (cptr = zio_first_enabled_chan(cset, cptr));	\
 		     cptr++)
 
 /* Use this in defining csets */
-- 
GitLab