]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/mod_devicetable.h
memcg, slab: do not destroy children caches if parent has aliases
[karo-tx-linux.git] / include / linux / mod_devicetable.h
index 45e921401b067b68c9912f82af1c19a1a8c6d048..9a165a213d9320fa79d088ebe8aaa80408c7fb71 100644 (file)
@@ -432,6 +432,14 @@ struct spi_device_id {
        kernel_ulong_t driver_data;     /* Data private to the driver */
 };
 
+#define SPMI_NAME_SIZE 32
+#define SPMI_MODULE_PREFIX "spmi:"
+
+struct spmi_device_id {
+       char name[SPMI_NAME_SIZE];
+       kernel_ulong_t driver_data;     /* Data private to the driver */
+};
+
 /* dmi */
 enum dmi_field {
        DMI_NONE,
@@ -564,6 +572,15 @@ struct x86_cpu_id {
 #define X86_MODEL_ANY  0
 #define X86_FEATURE_ANY 0      /* Same as FPU, you can't test for that */
 
+/*
+ * Generic table type for matching CPU features.
+ * @feature:   the bit number of the feature (0 - 65535)
+ */
+
+struct cpu_feature {
+       __u16   feature;
+};
+
 #define IPACK_ANY_FORMAT 0xff
 #define IPACK_ANY_ID (~0)
 struct ipack_device_id {
@@ -599,4 +616,9 @@ struct rio_device_id {
        __u16 asm_did, asm_vid;
 };
 
+struct mcb_device_id {
+       __u16 device;
+       kernel_ulong_t driver_data;
+};
+
 #endif /* LINUX_MOD_DEVICETABLE_H */