diff options
Diffstat (limited to 'include/linux/mod_devicetable.h')
-rw-r--r-- | include/linux/mod_devicetable.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index e47e5951058b..74523d999f7a 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
@@ -351,4 +351,19 @@ struct sdio_device_id { | |||
351 | kernel_ulong_t driver_data; /* Data private to the driver */ | 351 | kernel_ulong_t driver_data; /* Data private to the driver */ |
352 | }; | 352 | }; |
353 | 353 | ||
354 | /* SSB core, see drivers/ssb/ */ | ||
355 | struct ssb_device_id { | ||
356 | __u16 vendor; | ||
357 | __u16 coreid; | ||
358 | __u8 revision; | ||
359 | }; | ||
360 | #define SSB_DEVICE(_vendor, _coreid, _revision) \ | ||
361 | { .vendor = _vendor, .coreid = _coreid, .revision = _revision, } | ||
362 | #define SSB_DEVTABLE_END \ | ||
363 | { 0, }, | ||
364 | |||
365 | #define SSB_ANY_VENDOR 0xFFFF | ||
366 | #define SSB_ANY_ID 0xFFFF | ||
367 | #define SSB_ANY_REV 0xFF | ||
368 | |||
354 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 369 | #endif /* LINUX_MOD_DEVICETABLE_H */ |