diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-02-15 20:17:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-15 23:14:30 (GMT) |
commit | dc7f5b3594fdb846890192fd75793a791d7ba83b (patch) | |
tree | 5725989529cf6ee493546dee94aff90fc930ef70 /drivers/staging/ozwpan/ozcdev.c | |
parent | 89fe22b6acd394c2c4bcdcbc779ddf0e4730fbc9 (diff) | |
download | linux-fsl-qoriq-dc7f5b3594fdb846890192fd75793a791d7ba83b.tar.xz |
staging/ozwpan: Mark read only parameters and structs as const
This patch marks function parameters that are used read only
as well as readonly structs (and corresponding pointers) as const.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozcdev.c')
-rw-r--r-- | drivers/staging/ozwpan/ozcdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozcdev.c b/drivers/staging/ozwpan/ozcdev.c index 89d454e..ba15aeb 100644 --- a/drivers/staging/ozwpan/ozcdev.c +++ b/drivers/staging/ozwpan/ozcdev.c @@ -200,7 +200,7 @@ out: /*------------------------------------------------------------------------------ * Context: process */ -static int oz_set_active_pd(u8 *addr) +static int oz_set_active_pd(const u8 *addr) { int rc = 0; struct oz_pd *pd; |