This reserves the bridged phy class number to be used later on.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
 }
 module_exit(gpbridge_exit);
 
+/*
+ * One large list of all classes we support in the gpbridge.ko module.
+ *
+ * Due to limitations in older kernels, the different phy .c files can not
+ * contain their own MODULE_DEVICE_TABLE(), so put them all here for now.
+ */
+static const struct greybus_bundle_id bridged_phy_id_table[] = {
+       { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_BRIDGED_PHY) },
+       { },
+};
+MODULE_DEVICE_TABLE(greybus, bridged_phy_id_table);
+
 MODULE_LICENSE("GPL v2");
 
        GREYBUS_CLASS_SDIO              = 0x07,
        GREYBUS_CLASS_POWER_SUPPLY      = 0x08,
        GREYBUS_CLASS_PWM               = 0x09,
-       /* 0x0a is unused */
+       GREYBUS_CLASS_BRIDGED_PHY       = 0x0a,
        GREYBUS_CLASS_SPI               = 0x0b,
        GREYBUS_CLASS_DISPLAY           = 0x0c,
        GREYBUS_CLASS_CAMERA            = 0x0d,