pci: Add a struct device field
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 1 Nov 2017 20:28:28 +0000 (16:28 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Nov 2017 15:46:56 +0000 (10:46 -0500)
commit7e317db98169813028c95d3e5b0e0171a8d8c88a
tree99f5ac842df03449dcdd70ce2ff304294c18350a
parent1101a002c34cbe3c6823d275cc7bea5dd1328d27
pci: Add a struct device field

bnx2x has a lot of other places that are still using pcidev->dev, but it's
passing them to dont-care macros.  It's hokey, and spatch doesn't seem to
want to catch them all.  It's also a little hard to spatch after doing the
native conversion; some places have akaros_pcidev->dev, meaning the 'd' of
TBDF.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/arch/x86/pci.h
kern/drivers/net/bnx2x/bnx2x_main.c
kern/include/linux/compat_todo.h
kern/include/linux_compat.h