diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-18 16:37:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-18 16:37:46 -0700 |
commit | 05d3794aa8bd3b2c9f7920a05003c331cdeb75c5 (patch) | |
tree | 46ae0ec07caf01fa5c743112ae8ee932d1e66854 /drivers/base/core.c | |
parent | 301216244b1e39c4346e56d38b079ca53d528580 (diff) | |
parent | 0b405a0f7e4d4d18fd1fe46ddf5ff465443036ab (diff) |
Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6.git/
Diffstat (limited to 'drivers/base/core.c')
-rw-r--r-- | drivers/base/core.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/base/core.c b/drivers/base/core.c index 268a9c8d168b..d21eb7744496 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -31,8 +31,6 @@ int (*platform_notify_remove)(struct device * dev) = NULL; #define to_dev(obj) container_of(obj, struct device, kobj) #define to_dev_attr(_attr) container_of(_attr, struct device_attribute, attr) -extern struct attribute * dev_default_attrs[]; - static ssize_t dev_attr_show(struct kobject * kobj, struct attribute * attr, char * buf) { @@ -89,7 +87,6 @@ static void device_release(struct kobject * kobj) static struct kobj_type ktype_device = { .release = device_release, .sysfs_ops = &dev_sysfs_ops, - .default_attrs = dev_default_attrs, }; |