pci: align ioport unmap error handling to ioport map
[dpdk.git] / lib / librte_power / rte_power.h
index 9338069..67e0ec0 100644 (file)
@@ -68,19 +68,12 @@ int rte_power_set_env(enum power_management_env env);
 /**
  * Unset the global environment configuration.
  * This can only be called after all threads have completed.
- *
- * @param None.
- *
- * @return
- *  None.
  */
 void rte_power_unset_env(void);
 
 /**
  * Get the default power management implementation.
  *
- * @param None.
- *
  * @return
  *  power_management_env The configured environment.
  */
@@ -104,7 +97,6 @@ int rte_power_init(unsigned lcore_id);
  * Exit power management on a specific lcore. This will call the environment
  * dependent exit function.
  *
- *
  * @param lcore_id
  *  lcore id.
  *
@@ -242,7 +234,7 @@ extern rte_power_freq_change_t rte_power_freq_max;
  *  - 0 on success without frequency changed.
  *  - Negative on error.
  */
-rte_power_freq_change_t rte_power_freq_min;
+extern rte_power_freq_change_t rte_power_freq_min;
 
 #ifdef __cplusplus
 }