Commit f4c54050640e7afa4749875cf9b900d42db361c0
Committed by
Alexandre Courbot
1 parent
7fd2bf3d32
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
gpio: update gpio Chinese documentation
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> Acked-by: Alexandre Courbot <acourbot@nvidia.com> Acked-by: Grant Likely <grant.likely@secretlab.ca>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
Documentation/zh_CN/gpio.txt
... | ... | @@ -84,10 +84,10 @@ |
84 | 84 | 控制器的抽象函数来实现它。(有一些可选的代码能支持这种策略的实现,本文档 |
85 | 85 | 后面会介绍,但作为 GPIO 接口的客户端驱动程序必须与它的实现无关。) |
86 | 86 | |
87 | -也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。平台 | |
88 | -必须在 Kconfig 中声明对 GENERIC_GPIO的支持 (布尔型 true),并提供 | |
89 | -一个 <asm/gpio.h> 文件。那些调用标准 GPIO 函数的驱动应该在 Kconfig | |
90 | -入口中声明依赖GENERIC_GPIO。当驱动包含文件: | |
87 | +也就是说,如果在他们的平台上支持这个公约,驱动应尽可能的使用它。同时,平台 | |
88 | +必须在 Kconfig 中选择 ARCH_REQUIRE_GPIOLIB 或者 ARCH_WANT_OPTIONAL_GPIOLIB | |
89 | +选项。那些调用标准 GPIO 函数的驱动应该在 Kconfig 入口中声明依赖GENERIC_GPIO。 | |
90 | +当驱动包含文件: | |
91 | 91 | |
92 | 92 | #include <linux/gpio.h> |
93 | 93 |