eal: rename option name field
[dpdk.git] / lib / librte_eal / common / include / rte_option.h
index bbcc6ce..eea95e4 100644 (file)
@@ -34,7 +34,7 @@ typedef int (*rte_option_cb)(void);
  */
 struct rte_option {
        TAILQ_ENTRY(rte_option) next; /**< Next entry in the list. */
-       char *opt_str;             /**< The option name. */
+       const char *name; /**< The option name. */
        const char *usage; /**< Option summary string. */
        rte_option_cb cb;          /**< Function called when option is used. */
        int enabled;               /**< Set when the option is used. */