]> git.sur5r.net Git - u-boot/commit
gpio: Use const where possible
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:27:51 +0000 (19:27 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:22 +0000 (10:27 +0800)
commit17c43f1a42135cdca28991658615323c2ca92e37
treec431d3eded5445758fe6c95853749a5e6d01da5f
parentbbf2478026c0addfff000f31cc1b5639cbff52cb
gpio: Use const where possible

Some functions do not change the struct gpio_desc parameter. Update these to
use const so this is clear.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/gpio/gpio-uclass.c
include/asm-generic/gpio.h