summaryrefslogtreecommitdiffstats
path: root/include/linux/dca.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-02-08 15:00:49 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-08 15:33:33 -0800
commit765cdb6cef63c0b41c3f6c9285769080b3f41bb0 (patch)
tree0a66a606936d51249b3b4545bbbe426c4e1be0c7 /include/linux/dca.h
parent11b0cc3a4af65413ca3bb5698769e091486e0b22 (diff)
downloadlinux-765cdb6cef63c0b41c3f6c9285769080b3f41bb0.tar.gz
linux-765cdb6cef63c0b41c3f6c9285769080b3f41bb0.tar.bz2
linux-765cdb6cef63c0b41c3f6c9285769080b3f41bb0.zip
DCA: convert struct class_device to struct device.
Thanks to Kay for keeping us honest. Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Cc: "Williams, Dan J" <dan.j.williams@intel.com> Acked-by: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/dca.h')
-rw-r--r--include/linux/dca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dca.h b/include/linux/dca.h
index 83eaecc6f8ab..af61cd1f37e9 100644
--- a/include/linux/dca.h
+++ b/include/linux/dca.h
@@ -11,7 +11,7 @@ void dca_unregister_notify(struct notifier_block *nb);
struct dca_provider {
struct dca_ops *ops;
- struct class_device *cd;
+ struct device *cd;
int id;
};