|
@@ -68,15 +68,6 @@ struct cxl_context *cxl_get_context(struct pci_dev *dev)
|
|
}
|
|
}
|
|
EXPORT_SYMBOL_GPL(cxl_get_context);
|
|
EXPORT_SYMBOL_GPL(cxl_get_context);
|
|
|
|
|
|
-struct device *cxl_get_phys_dev(struct pci_dev *dev)
|
|
|
|
-{
|
|
|
|
- struct cxl_afu *afu;
|
|
|
|
-
|
|
|
|
- afu = cxl_pci_to_afu(dev);
|
|
|
|
-
|
|
|
|
- return afu->adapter->dev.parent;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int cxl_release_context(struct cxl_context *ctx)
|
|
int cxl_release_context(struct cxl_context *ctx)
|
|
{
|
|
{
|
|
if (ctx->status >= STARTED)
|
|
if (ctx->status >= STARTED)
|