public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* saa7134 duplicate device in module, but different device_data?
@ 2008-06-26 17:24 Ben Collins
  2008-06-26 23:56 ` [v4l-dvb-maintainer] " hermann pitton
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Collins @ 2008-06-26 17:24 UTC (permalink / raw)
  To: v4l-dvb-maintainer; +Cc: kernel list

In the saa7134 module, there are these two entries in
MODULE_DEVICE_TABLE():


        },{
                .vendor       = PCI_VENDOR_ID_PHILIPS,
                .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
                .subvendor    = 0x185b,
                .subdevice    = 0xc100,
                .driver_data  = SAA7134_BOARD_VIDEOMATE_TV,
        },{
                .vendor       = PCI_VENDOR_ID_PHILIPS,
                .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
                .subvendor    = 0x185b,
                .subdevice    = 0xc100,
                .driver_data  = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
        },{

Both will exactly match, and I assume only the first one will ever be
used, hence the second is just a wasted dupe. At least, I would assume
if not for the differing driver_data. Anyway to clear up this ambiguity?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-27  2:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-26 17:24 saa7134 duplicate device in module, but different device_data? Ben Collins
2008-06-26 23:56 ` [v4l-dvb-maintainer] " hermann pitton
2008-06-27  0:06   ` Ben Collins
2008-06-27  0:59     ` hermann pitton
2008-06-27  1:58       ` hermann pitton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox