summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2016-09-24 23:38:59 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-03-26 12:09:21 +0000
commit802c8efc2babd56368aacfeef80eb045d49cd4fc (patch)
treef4dd1038ef1c7de9f93c24f173d15cb35cdc61d3 /include
parent9c9fec92524e9b96ac1f82c25f1d4a4efed43fa5 (diff)
module: add iPAQ sleeve device table and module alias support
Add support for iPAQ sleeve device table and module alias support, so that sleeve drivers can be automatically modprobed into the kernel at run time. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mod_devicetable.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h
index f458469c5ce5..26327be36589 100644
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
@@ -653,6 +653,16 @@ struct isapnp_device_id {
};
/**
+ * struct ipaq_option_id - iPAQ sleeve option id
+ * @vendor: 16-bit vendor identifier
+ * @device: 16-bit device identifier
+ */
+struct ipaq_option_id {
+ __u16 vendor;
+ __u16 device;
+};
+
+/**
* struct amba_id - identifies a device on an AMBA bus
* @id: The significant bits if the hardware device ID
* @mask: Bitmask specifying which bits of the id field are significant when