diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 00:36:55 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-24 00:36:55 +0100 |
commit | b9d1f678c1f705b5635de31d333353a64ff6799d (patch) | |
tree | 54203e153207a407695b485064b763e32b6b1466 /device.h | |
parent | b164619c069b01c57425f462cc8768c021c32f8b (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |