chiark / gitweb /
[PATCH] add i2c-dev to the list of devices without a bus
[elogind.git] / udev_sysfs.c
index 886e9f403b9fce5527f520fc46ff51ce7b254e5f..a11c430df0abe10559b364eba4f787a1fda82d83 100644 (file)
@@ -235,6 +235,7 @@ static int class_device_expect_no_bus(struct sysfs_class_device *class_dev)
        static char *devices_without_bus[] = {
                "scsi_host",
                "i2c-adapter",
+               "i2c-dev",
                NULL
        };
        char **device;