summaryrefslogtreecommitdiffhomepage
path: root/device.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-24 00:36:55 +0100
committerFelix Fietkau <nbd@openwrt.org>2015-01-24 00:36:55 +0100
commitb9d1f678c1f705b5635de31d333353a64ff6799d (patch)
tree54203e153207a407695b485064b763e32b6b1466 /device.h
parentb164619c069b01c57425f462cc8768c021c32f8b (diff)
device: move config apply handling to a helper function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'device.h')
-rw-r--r--device.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/device.h b/device.h
index 0772f5f..ca4cc11 100644
--- a/device.h
+++ b/device.h
@@ -192,6 +192,9 @@ void device_init_pending(void);
enum dev_change_type
device_set_config(struct device *dev, const struct device_type *type,
struct blob_attr *attr);
+enum dev_change_type
+device_apply_config(struct device *dev, const struct device_type *type,
+ struct blob_attr *config);
void device_reset_config(void);
void device_reset_old(void);