From f8276b9b149f3b0c8f3cdf8d3d0c232bd92e3464 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 19 Oct 2011 01:32:55 +0200 Subject: apply device settings to simple devices with config specified from the interface section (legacy format compatibility), but only if no other config was provided --- device.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'device.h') diff --git a/device.h b/device.h index 686b1b1..f7718cc 100644 --- a/device.h +++ b/device.h @@ -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); -- cgit v1.2.3