Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / drivers / isdn / mISDN / dsp_hwec.c
index eb892d9..806a997 100644 (file)
@@ -43,7 +43,7 @@ static struct mISDN_dsp_element dsp_hwec_p = {
        .free = NULL,
        .process_tx = NULL,
        .process_rx = NULL,
-       .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+       .num_args = ARRAY_SIZE(args),
        .args = args,
 };
 struct mISDN_dsp_element *dsp_hwec = &dsp_hwec_p;