X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Flinux%2Fdevice.h;h=2e1a2988b7e15a35240c63a5f56928f2145c2ea2;hb=121e70b69aef898a3c02fa90d0a2108381bcf975;hp=6579068134d121384dd7c6bd7fafd4251d57fc16;hpb=5cefcab3db2b13093480f2a42bf081574dd72d3d;p=powerpc.git diff --git a/include/linux/device.h b/include/linux/device.h index 6579068134..2e1a2988b7 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -412,12 +412,13 @@ struct device { struct klist_node knode_parent; /* node in sibling list */ struct klist_node knode_driver; struct klist_node knode_bus; - struct device * parent; + struct device *parent; struct kobject kobj; char bus_id[BUS_ID_SIZE]; /* position on parent bus */ struct device_type *type; unsigned is_registered:1; + unsigned uevent_suppress:1; struct device_attribute uevent_attr; struct device_attribute *devt_attr; @@ -458,7 +459,6 @@ struct device { struct class *class; dev_t devt; /* dev_t, creates the sysfs "dev" */ struct attribute_group **groups; /* optional groups */ - int uevent_suppress; void (*release)(struct device * dev); };