diff options
Diffstat (limited to 'drivers/isdn')
-rw-r--r-- | drivers/isdn/mISDN/dsp_hwec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_hwec.c b/drivers/isdn/mISDN/dsp_hwec.c index eb892d9dd5c6..806a997fe7cc 100644 --- a/drivers/isdn/mISDN/dsp_hwec.c +++ b/drivers/isdn/mISDN/dsp_hwec.c | |||
@@ -43,7 +43,7 @@ static struct mISDN_dsp_element dsp_hwec_p = { | |||
43 | .free = NULL, | 43 | .free = NULL, |
44 | .process_tx = NULL, | 44 | .process_tx = NULL, |
45 | .process_rx = NULL, | 45 | .process_rx = NULL, |
46 | .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg), | 46 | .num_args = ARRAY_SIZE(args), |
47 | .args = args, | 47 | .args = args, |
48 | }; | 48 | }; |
49 | struct mISDN_dsp_element *dsp_hwec = &dsp_hwec_p; | 49 | struct mISDN_dsp_element *dsp_hwec = &dsp_hwec_p; |