提交 9da4ea69 编写于 作者: E Eric Miao

[ARM] pxa: fix incorrect mfp_to_gpio() conversion

Since MFP_PIN_GPIO* now includes 128-255, mfp_to_gpio() is no longer
valid for those additional pins, fix it.
Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
上级 15f593cf
......@@ -16,7 +16,7 @@
#ifndef __ASM_PLAT_MFP_H
#define __ASM_PLAT_MFP_H
#define mfp_to_gpio(m) ((m) % 128)
#define mfp_to_gpio(m) ((m) % 256)
/* list of all the configurable MFP pins */
enum {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册