diff options
author | Karsten Keil <keil@b1-systems.de> | 2009-07-27 08:20:55 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-27 08:20:55 -0700 |
commit | 663a31ce5bbef2d14fa325023e48bf02b4249f27 (patch) | |
tree | b1b0d69da31cad32b886f4db5ddd0a746026b2a9 /drivers/isdn/hardware/mISDN/isar.h | |
parent | 70034918930d2e5b68c09bced637228c50d9561a (diff) | |
download | blackbird-op-linux-663a31ce5bbef2d14fa325023e48bf02b4249f27.tar.gz blackbird-op-linux-663a31ce5bbef2d14fa325023e48bf02b4249f27.zip |
mISDN: Fix wrong struct name in macro and clarifications
Based on comments from Joe Perches <joe@perches.com>. Thanks.
Fix IOFUNC_MEMIO macro. WriteFiFo##name##_MIO use the wrong struct name,
this was missed because the macro was only called with this name.
Clarify with _func that the defined types are functions.
Add names to the parameters for better understanding the purpose.
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/mISDN/isar.h')
-rw-r--r-- | drivers/isdn/hardware/mISDN/isar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/isdn/hardware/mISDN/isar.h b/drivers/isdn/hardware/mISDN/isar.h index 092351acd2ab..4a134acd44d0 100644 --- a/drivers/isdn/hardware/mISDN/isar.h +++ b/drivers/isdn/hardware/mISDN/isar.h @@ -47,10 +47,10 @@ struct isar_hw { spinlock_t *hwlock; /* lock HW acccess */ char *name; struct module *owner; - read_reg_t *read_reg; - write_reg_t *write_reg; - fifo_func_t *read_fifo; - fifo_func_t *write_fifo; + read_reg_func *read_reg; + write_reg_func *write_reg; + fifo_func *read_fifo; + fifo_func *write_fifo; int (*ctrl)(void *, u32, u_long); void (*release)(struct isar_hw *); int (*init)(struct isar_hw *); |