From: Stefan Richter Date: Sat, 18 Feb 2012 21:01:54 +0000 (+0100) Subject: firewire: net: identify to driver core as "firewire_net", not "net" X-Git-Tag: v3.12-rc1~3614^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59759ff6f151dab70cc227c337fc54da221cf8d7;p=kernel%2Fkernel-generic.git firewire: net: identify to driver core as "firewire_net", not "net" On second thought, there is little reason to have driver name differ from module name. Therefore, change /sys/bus/firewire/drivers/net /sys/bus/firewire/devices/fw0.0/driver -> [...]/net /sys/module/firewire_net/drivers/firewire:net to /sys/bus/firewire/drivers/firewire_net /sys/bus/firewire/devices/fw0.0/driver -> [...]/firewire_net /sys/module/firewire_net/drivers/firewire:firewire_net It is redundant but consistent with firewire-sbp2's recently changed driver name. I don't see this anywhere used, so it should not matter either way. Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index a20f45b..fa305187 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c @@ -1648,7 +1648,7 @@ static const struct ieee1394_device_id fwnet_id_table[] = { static struct fw_driver fwnet_driver = { .driver = { .owner = THIS_MODULE, - .name = "net", + .name = KBUILD_MODNAME, .bus = &fw_bus_type, .probe = fwnet_probe, .remove = fwnet_remove,