diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2007-12-30 23:16:06 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:00:12 -0800 |
commit | ef39592f786b6d56d9faf988a3f18786eeb050b3 (patch) | |
tree | 10d8db1fe862dbfdd290b87b1a09bae11a96d4fd /include/linux/atmdev.h | |
parent | 6fe5452b3bb53e5bf5f37590b280ee73dc1e61b6 (diff) | |
download | op-kernel-dev-ef39592f786b6d56d9faf988a3f18786eeb050b3.zip op-kernel-dev-ef39592f786b6d56d9faf988a3f18786eeb050b3.tar.gz |
[ATM]: Convert struct class_device to struct device
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Diffstat (limited to 'include/linux/atmdev.h')
-rw-r--r-- | include/linux/atmdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/atmdev.h b/include/linux/atmdev.h index 2096e5c..a3d07c2 100644 --- a/include/linux/atmdev.h +++ b/include/linux/atmdev.h @@ -359,7 +359,7 @@ struct atm_dev { struct proc_dir_entry *proc_entry; /* proc entry */ char *proc_name; /* proc entry name */ #endif - struct class_device class_dev; /* sysfs class device */ + struct device class_dev; /* sysfs device */ struct list_head dev_list; /* linkage */ }; @@ -461,7 +461,7 @@ static inline void atm_dev_put(struct atm_dev *dev) BUG_ON(!test_bit(ATM_DF_REMOVED, &dev->flags)); if (dev->ops->dev_close) dev->ops->dev_close(dev); - class_device_put(&dev->class_dev); + put_device(&dev->class_dev); } } |