dmadev: add missing header include
authorThomas Monjalon <thomas@monjalon.net>
Tue, 22 Feb 2022 11:26:10 +0000 (12:26 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 22 Feb 2022 13:47:41 +0000 (14:47 +0100)
commite904fd77d88666f1a4270b1380f2661c9195f012
treeddc6a1263cb85eb2237888effdb98083cc9ba2ac
parent30a1de105a5f40d77b344a891c4a68f79e815c43
dmadev: add missing header include

When checking C++ compatibility of SDK headers,
an error is detected by the compiler:

lib/dmadev/rte_dmadev_pmd.h:95:23: error:
‘RTE_DEV_NAME_MAX_LEN’ undeclared here (not in a function)

The header file rte_dev.h must be included.

Fixes: b36970f2e13e ("dmadev: introduce DMA device library")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Conor Walsh <conor.walsh@intel.com>
lib/dmadev/rte_dmadev_pmd.h