aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mod_devicetable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r--include/linux/mod_devicetable.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index 45e921401b06..9a165a213d93 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -432,6 +432,14 @@ struct spi_device_id {
432 kernel_ulong_t driver_data; /* Data private to the driver */ 432 kernel_ulong_t driver_data; /* Data private to the driver */
433}; 433};
434 434
435#define SPMI_NAME_SIZE 32
436#define SPMI_MODULE_PREFIX "spmi:"
437
438struct spmi_device_id {
439 char name[SPMI_NAME_SIZE];
440 kernel_ulong_t driver_data; /* Data private to the driver */
441};
442
435/* dmi */ 443/* dmi */
436enum dmi_field { 444enum dmi_field {
437 DMI_NONE, 445 DMI_NONE,
@@ -564,6 +572,15 @@ struct x86_cpu_id {
564#define X86_MODEL_ANY 0 572#define X86_MODEL_ANY 0
565#define X86_FEATURE_ANY 0 /* Same as FPU, you can't test for that */ 573#define X86_FEATURE_ANY 0 /* Same as FPU, you can't test for that */
566 574
575/*
576 * Generic table type for matching CPU features.
577 * @feature: the bit number of the feature (0 - 65535)
578 */
579
580struct cpu_feature {
581 __u16 feature;
582};
583
567#define IPACK_ANY_FORMAT 0xff 584#define IPACK_ANY_FORMAT 0xff
568#define IPACK_ANY_ID (~0) 585#define IPACK_ANY_ID (~0)
569struct ipack_device_id { 586struct ipack_device_id {
@@ -599,4 +616,9 @@ struct rio_device_id {
599 __u16 asm_did, asm_vid; 616 __u16 asm_did, asm_vid;
600}; 617};
601 618
619struct mcb_device_id {
620 __u16 device;
621 kernel_ulong_t driver_data;
622};
623
602#endif /* LINUX_MOD_DEVICETABLE_H */ 624#endif /* LINUX_MOD_DEVICETABLE_H */