Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
[firefly-linux-kernel-4.4.55.git] / drivers / isdn / mISDN / dsp_hwec.c
index eb892d9dd5c60db0b98631dcbdf8f86c062a0213..806a997fe7cc2907c7c21fb1cc130845b2cdcc9a 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;