Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 68002
b: refs/heads/master
c: 8f4afc4
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Oct 12, 2007
1 parent da26a63 commit 1f566f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: adc56808f32e15fa0c0fcd5ecb4b30989076ef2b
refs/heads/master: 8f4afc410b8d2be49f34835b6bbe788f50471b02
6 changes: 3 additions & 3 deletions trunk/drivers/base/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static void device_release(struct kobject * kobj)
}
}

static struct kobj_type ktype_device = {
static struct kobj_type device_ktype = {
.release = device_release,
.sysfs_ops = &dev_sysfs_ops,
};
Expand All @@ -118,7 +118,7 @@ static int dev_uevent_filter(struct kset *kset, struct kobject *kobj)
{
struct kobj_type *ktype = get_ktype(kobj);

if (ktype == &ktype_device) {
if (ktype == &device_ktype) {
struct device *dev = to_dev(kobj);
if (dev->uevent_suppress)
return 0;
Expand Down Expand Up @@ -405,7 +405,7 @@ static struct device_attribute devt_attr =
* devices_subsys - structure to be registered with kobject core.
*/

decl_subsys(devices, &ktype_device, &device_uevent_ops);
decl_subsys(devices, &device_ktype, &device_uevent_ops);


/**
Expand Down

0 comments on commit 1f566f5

Please sign in to comment.