Merge tag 'char-misc-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregk...
[platform/kernel/linux-starfive.git] / include / linux / mod_devicetable.h
index b8dae34..7d45b5f 100644 (file)
@@ -846,6 +846,24 @@ struct auxiliary_device_id {
        kernel_ulong_t driver_data;
 };
 
+/* Surface System Aggregator Module */
+
+#define SSAM_MATCH_TARGET      0x1
+#define SSAM_MATCH_INSTANCE    0x2
+#define SSAM_MATCH_FUNCTION    0x4
+
+struct ssam_device_id {
+       __u8 match_flags;
+
+       __u8 domain;
+       __u8 category;
+       __u8 target;
+       __u8 instance;
+       __u8 function;
+
+       kernel_ulong_t driver_data;
+};
+
 /*
  * DFL (Device Feature List)
  *