eal: make driver pointer const in device struct
authorStephen Hemminger <stephen@networkplumber.org>
Fri, 23 Dec 2016 15:57:54 +0000 (16:57 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 24 Dec 2016 17:46:40 +0000 (18:46 +0100)
commit71ff78a7f7411e659708d26af8563fc78835ef39
tree41324e3ab589c4b7032301e23f47994774a2abf6
parentbb30369dc103dd2f0214737b413c86c415bf9e92
eal: make driver pointer const in device struct

The info in rte_device about driver is immutable and
shouldn't change.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_eal/common/include/rte_dev.h