crypto/kasumi: fix extern declaration
authorKevin Traynor <ktraynor@redhat.com>
Wed, 6 May 2020 09:45:18 +0000 (10:45 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commit6a6b5d5616c976eb306cbdbcf9241aba08d2516e
tree7fe30f4a8e695cf532d62450c5a0121dcbd3db0e
parentd954825a242e16aeb8a920e40a06164f5120c5b3
crypto/kasumi: fix extern declaration

gcc 10 defaults to fno-common and it reports:

crypto_kasumi_rte_kasumi_pmd_ops.c.o:(.data.rel+0x0):
multiple definition of `rte_kasumi_pmd_ops';
crypto_kasumi_rte_kasumi_pmd.c.o:(.bss+0x8): first defined here

Fix by making rte_kasumi_pmd_ops extern in the header file.

Fixes: 2773c86d061a ("crypto/kasumi: add driver for KASUMI library")
Cc: stable@dpdk.org
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/kasumi/kasumi_pmd_private.h