* [PATCH] gpio: update gpio Chinese documentation
@ 2013-04-08 1:22 Chen Baozi
2013-04-08 17:03 ` Alexandre Courbot
0 siblings, 1 reply; 3+ messages in thread
From: Chen Baozi @ 2013-04-08 1:22 UTC (permalink / raw)
To: Alexandre Courbot; +Cc: linux-arm-kernel, linux-arch, linux-kernel
Since the GENERIC_GPIO has been removed and the documentation of it
has been modified, this patch updates the corresponding documentation of
gpio in Chinese.
Signed-off-by: Chen Baozi <baozich@gmail.com>
---
Documentation/zh_CN/gpio.txt | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/zh_CN/gpio.txt b/Documentation/zh_CN/gpio.txt
index 4fa7b4e..d5b8f01 100644
--- a/Documentation/zh_CN/gpio.txt
+++ b/Documentation/zh_CN/gpio.txt
@@ -84,10 +84,10 @@ GPIO 公约
控制器的抽象函数来实现它。(有一些可选的代码能支持这种策略的实现,本文档
后面会介绍,但作为 GPIO 接口的客户端驱动程序必须与它的实现无关。)
-也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。平台
-必须在 Kconfig 中声明对 GENERIC_GPIO的支持 (布尔型 true),并提供
-一个 <asm/gpio.h> 文件。那些调用标准 GPIO 函数的驱动应该在 Kconfig
-入口中声明依赖GENERIC_GPIO。当驱动包含文件:
+也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。同时,平台
+必须在 Kconfig 中选择 ARCH_REQUIRE_GPIOLIB 或者 ARCH_WANT_OPTIONAL_GPIOLIB
+选项。那些调用标准 GPIO 函数的驱动应该在 Kconfig 入口中声明依赖GENERIC_GPIO。
+当驱动包含文件:
#include <linux/gpio.h>
--
1.8.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: update gpio Chinese documentation
2013-04-08 1:22 [PATCH] gpio: update gpio Chinese documentation Chen Baozi
@ 2013-04-08 17:03 ` Alexandre Courbot
2013-04-08 17:03 ` Alexandre Courbot
0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Courbot @ 2013-04-08 17:03 UTC (permalink / raw)
To: Chen Baozi
Cc: linux-arm-kernel@lists.infradead.org, linux-arch,
Linux Kernel Mailing List
2013/4/7 Chen Baozi <baozich@gmail.com>:
> Since the GENERIC_GPIO has been removed and the documentation of it
> has been modified, this patch updates the corresponding documentation of
> gpio in Chinese.
>
> Signed-off-by: Chen Baozi <baozich@gmail.com>
> ---
> Documentation/zh_CN/gpio.txt | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Integrated into my series, thanks. With this I guess I can send the
whole series again to Grant for him to integrate in his branch. It's
time if we want it to make it for 3.10.
Alex.
>
> diff --git a/Documentation/zh_CN/gpio.txt b/Documentation/zh_CN/gpio.txt
> index 4fa7b4e..d5b8f01 100644
> --- a/Documentation/zh_CN/gpio.txt
> +++ b/Documentation/zh_CN/gpio.txt
> @@ -84,10 +84,10 @@ GPIO 公约
> 控制器的抽象函数来实现它。(有一些可选的代码能支持这种策略的实现,本文档
> 后面会介绍,但作为 GPIO 接口的客户端驱动程序必须与它的实现无关。)
>
> -也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。平台
> -必须在 Kconfig 中声明对 GENERIC_GPIO的支持 (布尔型 true),并提供
> -一个 <asm/gpio.h> 文件。那些调用标准 GPIO 函数的驱动应该在 Kconfig
> -入口中声明依赖GENERIC_GPIO。当驱动包含文件:
> +也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。同时,平台
> +必须在 Kconfig 中选择 ARCH_REQUIRE_GPIOLIB 或者 ARCH_WANT_OPTIONAL_GPIOLIB
> +选项。那些调用标准 GPIO 函数的驱动应该在 Kconfig 入口中声明依赖GENERIC_GPIO。
> +当驱动包含文件:
>
> #include <linux/gpio.h>
>
> --
> 1.8.1.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gpio: update gpio Chinese documentation
2013-04-08 17:03 ` Alexandre Courbot
@ 2013-04-08 17:03 ` Alexandre Courbot
0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Courbot @ 2013-04-08 17:03 UTC (permalink / raw)
To: Chen Baozi
Cc: linux-arm-kernel@lists.infradead.org, linux-arch,
Linux Kernel Mailing List
2013/4/7 Chen Baozi <baozich@gmail.com>:
> Since the GENERIC_GPIO has been removed and the documentation of it
> has been modified, this patch updates the corresponding documentation of
> gpio in Chinese.
>
> Signed-off-by: Chen Baozi <baozich@gmail.com>
> ---
> Documentation/zh_CN/gpio.txt | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Integrated into my series, thanks. With this I guess I can send the
whole series again to Grant for him to integrate in his branch. It's
time if we want it to make it for 3.10.
Alex.
>
> diff --git a/Documentation/zh_CN/gpio.txt b/Documentation/zh_CN/gpio.txt
> index 4fa7b4e..d5b8f01 100644
> --- a/Documentation/zh_CN/gpio.txt
> +++ b/Documentation/zh_CN/gpio.txt
> @@ -84,10 +84,10 @@ GPIO 公约
> 控制器的抽象函数来实现它。(有一些可选的代码能支持这种策略的实现,本文档
> 后面会介绍,但作为 GPIO 接口的客户端驱动程序必须与它的实现无关。)
>
> -也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。平台
> -必须在 Kconfig 中声明对 GENERIC_GPIO的支持 (布尔型 true),并提供
> -一个 <asm/gpio.h> 文件。那些调用标准 GPIO 函数的驱动应该在 Kconfig
> -入口中声明依赖GENERIC_GPIO。当驱动包含文件:
> +也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。同时,平台
> +必须在 Kconfig 中选择 ARCH_REQUIRE_GPIOLIB 或者 ARCH_WANT_OPTIONAL_GPIOLIB
> +选项。那些调用标准 GPIO 函数的驱动应该在 Kconfig 入口中声明依赖GENERIC_GPIO。
> +当驱动包含文件:
>
> #include <linux/gpio.h>
>
> --
> 1.8.1.4
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-08 17:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 1:22 [PATCH] gpio: update gpio Chinese documentation Chen Baozi
2013-04-08 17:03 ` Alexandre Courbot
2013-04-08 17:03 ` Alexandre Courbot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox