diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 01:32:55 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-10-19 01:32:55 +0200 |
commit | f8276b9b149f3b0c8f3cdf8d3d0c232bd92e3464 (patch) | |
tree | eba0adb88f9e0408740c2855922db80ece63d55e /device.h | |
parent | beecba5195b2f1180f0bdfb6f61f0dbd3dff0eba (diff) |
apply device settings to simple devices with config specified from the interface section (legacy format compatibility), but only if no other config was provided
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -118,6 +118,10 @@ struct device *device_create(const char *name, const struct device_type *type, void device_init_settings(struct device *dev, struct blob_attr **tb); void device_init_pending(void); +enum dev_change_type +device_set_config(struct device *dev, const struct device_type *type, + struct blob_attr *attr); + void device_reset_config(void); void device_reset_old(void); |