Commit ea17a516 authored by Federico Vaga's avatar Federico Vaga Committed by Alessandro Rubini

core: move device code to objects.c (no technical change)

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 9f39df2c
This diff is collapsed.
......@@ -4,7 +4,9 @@
/* Defined in zio-sys.c */
extern struct device_type zdev_generic_type;
extern struct device_type zobj_device_type;
extern struct device_type cset_device_type;
extern struct device_type bi_device_type;
extern struct bin_attribute zio_attr_cur_ctrl;
/* This list is used in the core to keep track of registered objects */
struct zio_object_list {
......@@ -71,6 +73,9 @@ extern int zattr_set_create(struct zio_obj_head *head,
extern void zattr_set_remove(struct zio_obj_head *head);
extern void __ctrl_update_nsamples(struct zio_ti *ti);
extern void __zattr_trig_init_ctrl(struct zio_ti *ti, struct zio_control *ctrl);
extern int __check_dev_zattr(struct zio_attribute_set *parent,
struct zio_attribute_set *this);
extern int __zattr_dev_init_ctrl(struct zio_device *zdev);
/* Defined in objects.c */
extern int zio_change_current_trigger(struct zio_cset *cset, char *name);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment