Driver core: add name to device_type
commit414264f959cf46f49f974b3510400e12ac3624a6
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 12 Mar 2007 20:08:57 +0000 (12 21:08 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:28 +0000 (27 10:57 -0700)
treeead43994761620cbf7cb22525610627786562098
parent621a1672f7377e08a942f205d6742d8af1292aab
Driver core: add name to device_type

If "name" of a device_type is specified, the uevent will
contain the device_type name in the DEVTYPE variable.
This helps userspace to distingiush between different types
of devices, belonging to the same subsystem.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c
include/linux/device.h