numam-dpdk/lib/librte_eal
Thomas Monjalon 459132bc2c virtio: fix build with mempool debug enabled
The mempool header forces error on -Wcast-qual:
	error: cast discards ‘const’ qualifier from pointer target type

Let's fix it by removing const qualifier of pci driver from commit
	5e9f6d1340 ("pci: reference driver structure for each device")
It's needed because the driver flags are changed depending on using uio or not.
Actually these driver flags should be directly attached to each device.

Fixes: da978dfdc4 ("virtio: use port IO to get PCI resource")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Changchun Ouyang <changchun.ouyang@intel.com>
2015-03-04 11:18:36 +01:00
..
bsdapp eal: clean up export of socket id variable 2015-03-02 19:40:20 +01:00
common virtio: fix build with mempool debug enabled 2015-03-04 11:18:36 +01:00
linuxapp eal/linux: fix build 2015-03-03 23:21:33 +01:00
Makefile eal: no more bare metal environment 2014-11-27 13:09:51 +01:00