diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-04-24 05:04:24 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-04-24 05:04:24 +0800 |
commit | 681793711abca2b45f210a553962e2c4884b5587 (patch) | |
tree | d193efbd433af7b19dbd5fc61286e3e04da02a5a /include/asm-blackfin | |
parent | 5d1617b247aa63698618215a9f39ecf905d55779 (diff) | |
download | blackbird-op-linux-681793711abca2b45f210a553962e2c4884b5587.tar.gz blackbird-op-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 'include/asm-blackfin')
-rw-r--r-- | include/asm-blackfin/portmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-blackfin/portmux.h b/include/asm-blackfin/portmux.h index 0d3f650d2d99..0807b286cd9e 100644 --- a/include/asm-blackfin/portmux.h +++ b/include/asm-blackfin/portmux.h @@ -17,8 +17,8 @@ int peripheral_request(unsigned short per, const char *label); void peripheral_free(unsigned short per); -int peripheral_request_list(unsigned short per[], const char *label); -void peripheral_free_list(unsigned short per[]); +int peripheral_request_list(const unsigned short per[], const char *label); +void peripheral_free_list(const unsigned short per[]); #include <asm/gpio.h> #include <asm/mach/portmux.h> |