summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/enum.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/views/enum.h b/views/enum.h
index eb90810..6f116d6 100644
--- a/views/enum.h
+++ b/views/enum.h
@@ -4,14 +4,10 @@
#include <pcilib.h>
#include <pcilib/view.h>
-typedef struct {
- pcilib_register_value_t value, min, max; /**< the value or value-range for which the name is defined, while wrtiting the name the value will be used even if range is specified */
- const char *name; /**< corresponding string to value */
-} pcilib_value_name_t;
typedef struct {
pcilib_view_description_t base;
- pcilib_value_name_t *names;
+ pcilib_register_value_name_t *names;
} pcilib_enum_view_description_t;