diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-04-23 23:04:24 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-23 23:04:24 +0200 |
commit | 681793711abca2b45f210a553962e2c4884b5587 (patch) | |
tree | d193efbd433af7b19dbd5fc61286e3e04da02a5a /arch/blackfin | |
parent | [Blackfin] arch: merge ip0x-specific board changes (diff) | |
download | linux-681793711abca2b45f210a553962e2c4884b5587.tar.xz linux-681793711abca2b45f210a553962e2c4884b5587.zip |
[Blackfin] arch: declare list of peripherals as const since we dont modify the incoming array
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index 72477c252a94..fcb2f6cf430b 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c @@ -941,7 +941,7 @@ int peripheral_request(unsigned short per, const char *label) EXPORT_SYMBOL(peripheral_request); #endif -int peripheral_request_list(unsigned short per[], const char *label) +int peripheral_request_list(const unsigned short per[], const char *label) { u16 cnt; int ret; @@ -994,7 +994,7 @@ void peripheral_free(unsigned short per) } EXPORT_SYMBOL(peripheral_free); -void peripheral_free_list(unsigned short per[]) +void peripheral_free_list(const unsigned short per[]) { u16 cnt; for (cnt = 0; per[cnt] != 0; cnt++) |