aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2009-02-15 17:12:34 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-06-05 10:26:17 -0400
commitb3b2988841ac6215e137e34e38b71acc915d1f00 (patch)
treea79df9327881a789f22f97ccebb4618008bf8529 /drivers/firewire/fw-sbp2.c
parent0210b66dd88a2a1e451901b00378a2068b6ccb35 (diff)
firewire: share device ID table type with ieee1394
That way, the new firedtv driver will be able to use a single ID table in builds against ieee1394 core and/or against firewire core. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 2bcf51557c72..2a707754532b 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -1259,9 +1259,10 @@ static void sbp2_update(struct fw_unit *unit)
1259#define SBP2_UNIT_SPEC_ID_ENTRY 0x0000609e 1259#define SBP2_UNIT_SPEC_ID_ENTRY 0x0000609e
1260#define SBP2_SW_VERSION_ENTRY 0x00010483 1260#define SBP2_SW_VERSION_ENTRY 0x00010483
1261 1261
1262static const struct fw_device_id sbp2_id_table[] = { 1262static const struct ieee1394_device_id sbp2_id_table[] = {
1263 { 1263 {
1264 .match_flags = FW_MATCH_SPECIFIER_ID | FW_MATCH_VERSION, 1264 .match_flags = IEEE1394_MATCH_SPECIFIER_ID |
1265 IEEE1394_MATCH_VERSION,
1265 .specifier_id = SBP2_UNIT_SPEC_ID_ENTRY, 1266 .specifier_id = SBP2_UNIT_SPEC_ID_ENTRY,
1266 .version = SBP2_SW_VERSION_ENTRY, 1267 .version = SBP2_SW_VERSION_ENTRY,
1267 }, 1268 },