cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem
[deliverable/linux.git] / arch / x86 / kernel / cpu / mcheck / mce-internal.h
index fefcc69ee8b5a937bdcce8f551b4d3ce585db585..ed44c8a65858623b64b313fe17b9e9f9d88a28bc 100644 (file)
@@ -1,4 +1,4 @@
-#include <linux/sysdev.h>
+#include <linux/device.h>
 #include <asm/mce.h>
 
 enum severity_level {
@@ -17,7 +17,7 @@ enum severity_level {
 struct mce_bank {
        u64                     ctl;                    /* subevents to enable */
        unsigned char init;                             /* initialise bank? */
-       struct sysdev_attribute attr;                   /* sysdev attribute */
+       struct device_attribute attr;                   /* device attribute */
        char                    attrname[ATTR_LEN];     /* attribute name */
 };
 
This page took 0.024409 seconds and 5 git commands to generate.