diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-02-18 21:11:07 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2008-04-18 17:55:29 +0200 |
commit | d2ace29fa44589da51fedc06a67b3f05301f3bfd (patch) | |
tree | 3790d77128ba48194af5ca667ba304d3047c1363 /drivers/ieee1394/video1394.c | |
parent | 63995d46506a774f5ddd6b51c017d42c3fbfaedb (diff) | |
download | op-kernel-dev-d2ace29fa44589da51fedc06a67b3f05301f3bfd.zip op-kernel-dev-d2ace29fa44589da51fedc06a67b3f05301f3bfd.tar.gz |
ieee1394: prevent device binding of raw1394, video1394, dv1394
These drivers don't need to match any unit_directory type device.
They just need the id_table for module autoloading per module alias.
Not binding any of these drivers allows special-purpose drivers with
similar or same IDs to bind to devices. This currently only benefits
out-of-tree drivers; on the other hand it is in no way detrimental to
in-tree drivers.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/ieee1394/video1394.c')
-rw-r--r-- | drivers/ieee1394/video1394.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ieee1394/video1394.c b/drivers/ieee1394/video1394.c index bd28adf..cc240b2 100644 --- a/drivers/ieee1394/video1394.c +++ b/drivers/ieee1394/video1394.c @@ -1315,8 +1315,7 @@ static struct ieee1394_device_id video1394_id_table[] = { MODULE_DEVICE_TABLE(ieee1394, video1394_id_table); static struct hpsb_protocol_driver video1394_driver = { - .name = VIDEO1394_DRIVER_NAME, - .id_table = video1394_id_table, + .name = VIDEO1394_DRIVER_NAME, }; |