diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-20 16:01:13 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-07-20 16:01:13 +0200 |
commit | 2a3fe9a75951cb085b81569939f6af3ce2eb2b02 (patch) | |
tree | bbe2bd37150d53bafff0607814967518f802d146 /src/udev/udev-builtin-path_id.c | |
parent | 3fd89536883ea9e24e69f28de0d11cd7cffb42ce (diff) |
udev: path_id - export path for platform block devices
Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
>
> E.g. I have a platform with two sdhci controllers with different purposes.
> First slot is an external slot while second one is internal with a
> non-removable card.
>
> When there is a card in the external slot at boot, the non-removable card is
> named 'mmcblk1'; without the external card it is 'mmcblk0'. Vice versa for the
> external card.
https://bugs.freedesktop.org/show_bug.cgi?id=52309
Diffstat (limited to 'src/udev/udev-builtin-path_id.c')
-rw-r--r-- | src/udev/udev-builtin-path_id.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udev/udev-builtin-path_id.c b/src/udev/udev-builtin-path_id.c index 223d9b138a..8eac991d3c 100644 --- a/src/udev/udev-builtin-path_id.c +++ b/src/udev/udev-builtin-path_id.c @@ -458,6 +458,7 @@ static int builtin_path_id(struct udev_device *dev, int argc, char *argv[], bool } else if (strcmp(subsys, "platform") == 0) { path_prepend(&path, "platform-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "platform"); + some_transport = true; } else if (strcmp(subsys, "acpi") == 0) { path_prepend(&path, "acpi-%s", udev_device_get_sysname(parent)); parent = skip_subsystem(parent, "acpi"); |