X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_dev.h;fp=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_dev.h;h=9f2765d514caa65545cf3a612c7ef0798a4b9745;hb=cbb4c648c5dfff6fced96c5c76166a3e0e048fa4;hp=a0d67d00327f62bfada40fc0f6f051c531e9612a;hpb=a3ee360f4440553557618c63c24f6fa01b71bf59;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h index a0d67d0032..9f2765d514 100644 --- a/lib/librte_eal/common/include/rte_dev.h +++ b/lib/librte_eal/common/include/rte_dev.h @@ -183,13 +183,12 @@ int rte_eal_dev_attach(const char *name, const char *devargs); /** * Detach a device from its driver. * - * @param name - * Same description as for rte_eal_dev_attach(). - * Here, eal will call the driver detaching function. + * @param dev + * A pointer to a rte_device structure. * @return * 0 on success, negative on error. */ -int rte_eal_dev_detach(const char *name); +int rte_eal_dev_detach(struct rte_device *dev); /** * @warning