diff options
| author | Axel Lin <[email protected]> | 2013-03-04 13:47:39 +0800 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2013-03-07 05:27:31 +0100 |
| commit | a7bbdd7f8065b97108830662b31c18fc67449c87 (patch) | |
| tree | 05184d400d578f7c674bd3db9cafd025db5061e1 /tools/perf/scripts/python | |
| parent | 32378ab781e3e5da6e25c51e452a43e21fbabb3a (diff) | |
pinctrl: single: Fix build error
If pcs->is_pinconf is false, it means does not support pinconf.
If pcs->is_pinconf is true, is_generic flag is always true.
This patch fixes below build error:
CC [M] drivers/pinctrl/pinctrl-single.o
drivers/pinctrl/pinctrl-single.c: In function 'pcs_probe':
drivers/pinctrl/pinctrl-single.c:1441:3: error: assignment of member 'is_generic' in read-only object
make[2]: *** [drivers/pinctrl/pinctrl-single.o] Error 1
make[1]: *** [drivers/pinctrl] Error 2
make: *** [drivers] Error 2
Signed-off-by: Axel Lin <[email protected]>
Reviewed-by: Haojian Zhuang <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions