diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-02-18 16:01:54 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-02-22 16:36:00 -0500 |
commit | 59759ff6f151dab70cc227c337fc54da221cf8d7 (patch) | |
tree | 59565ac1520fcaad7fd914b25d7ca24ba4eb0ddf /drivers/firewire | |
parent | 0c22ecdebb65b96408c5c369321702f0dee908ee (diff) |
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 <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index a20f45b1e7e5..fa305187f468 100644 --- a/drivers/firewire/net.c +++ b/drivers/firewire/net.c | |||
@@ -1648,7 +1648,7 @@ static const struct ieee1394_device_id fwnet_id_table[] = { | |||
1648 | static struct fw_driver fwnet_driver = { | 1648 | static struct fw_driver fwnet_driver = { |
1649 | .driver = { | 1649 | .driver = { |
1650 | .owner = THIS_MODULE, | 1650 | .owner = THIS_MODULE, |
1651 | .name = "net", | 1651 | .name = KBUILD_MODNAME, |
1652 | .bus = &fw_bus_type, | 1652 | .bus = &fw_bus_type, |
1653 | .probe = fwnet_probe, | 1653 | .probe = fwnet_probe, |
1654 | .remove = fwnet_remove, | 1654 | .remove = fwnet_remove, |