OpenCloudOS-Kernel/include/misc
Frederic Barrat 0d3a13fbf1 cxl: Remove cxl_get_phys_dev() kernel API
The cxl_get_phys_dev() API returns a struct device pointer which could
belong to either a struct pci_dev (bare-metal) or platform_device
(powerVM). To avoid potential problems in drivers, remove that API. It
was introduced to allow drivers to read the VPD of the adapter, but
the cxl driver now provides the cxl_pci_read_adapter_vpd() API for
that purpose.

Co-authored-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Signed-off-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-03-09 23:40:02 +11:00
..
altera.h [media] altera-stapl: it is time to move out from staging 2011-09-23 15:00:57 -03:00
cxl-base.h cxl: Move include file cxl.h -> cxl-base.h 2015-06-03 13:27:19 +10:00
cxl.h cxl: Remove cxl_get_phys_dev() kernel API 2016-03-09 23:40:02 +11:00