Skip to content
Snippets Groups Projects
Commit 62b2c9b8 authored by Arun Muthusamy's avatar Arun Muthusamy
Browse files

rm policy enum from .c to .h file

parent 30f3426c
No related branches found
No related tags found
No related merge requests found
...@@ -35,10 +35,6 @@ void free_device(struct device *dev); ...@@ -35,10 +35,6 @@ void free_device(struct device *dev);
void free_usb(struct USB *usb); void free_usb(struct USB *usb);
struct device *search_list(char *name); struct device *search_list(char *name);
enum {
DEV,
__DEV_MAX
};
const struct blobmsg_policy dev_policy[__DEV_MAX] = { const struct blobmsg_policy dev_policy[__DEV_MAX] = {
[DEV] = {.name = "dev", .type = BLOBMSG_TYPE_STRING}, [DEV] = {.name = "dev", .type = BLOBMSG_TYPE_STRING},
......
...@@ -38,6 +38,12 @@ enum { ...@@ -38,6 +38,12 @@ enum {
//dongle_network enum(None).. //dongle_network enum(None)..
//dongle_infrastructure
enum {
DEV,
__DEV_MAX
};
struct USB { struct USB {
char *product; char *product;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment