[PATCH] ieee1394: remove redundant code from ieee1394_hotplug.h
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Ben Collins <bcollins@ubuntu.com>
This commit is contained in:
parent
de4394f13c
commit
66faadfac3
@ -1,32 +1,19 @@
|
|||||||
#ifndef _IEEE1394_HOTPLUG_H
|
#ifndef _IEEE1394_HOTPLUG_H
|
||||||
#define _IEEE1394_HOTPLUG_H
|
#define _IEEE1394_HOTPLUG_H
|
||||||
|
|
||||||
#include <linux/mod_devicetable.h>
|
|
||||||
#include <linux/types.h>
|
|
||||||
|
|
||||||
/* Unit spec id and sw version entry for some protocols */
|
/* Unit spec id and sw version entry for some protocols */
|
||||||
#define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D
|
#define AVC_UNIT_SPEC_ID_ENTRY 0x0000A02D
|
||||||
#define AVC_SW_VERSION_ENTRY 0x00010001
|
#define AVC_SW_VERSION_ENTRY 0x00010001
|
||||||
#define CAMERA_UNIT_SPEC_ID_ENTRY 0x0000A02D
|
#define CAMERA_UNIT_SPEC_ID_ENTRY 0x0000A02D
|
||||||
#define CAMERA_SW_VERSION_ENTRY 0x00000100
|
#define CAMERA_SW_VERSION_ENTRY 0x00000100
|
||||||
|
|
||||||
/* Check to make sure this all isn't already defined */
|
/* /include/linux/mod_devicetable.h defines:
|
||||||
#ifndef IEEE1394_MATCH_VENDOR_ID
|
* IEEE1394_MATCH_VENDOR_ID
|
||||||
|
* IEEE1394_MATCH_MODEL_ID
|
||||||
#define IEEE1394_MATCH_VENDOR_ID 0x0001
|
* IEEE1394_MATCH_SPECIFIER_ID
|
||||||
#define IEEE1394_MATCH_MODEL_ID 0x0002
|
* IEEE1394_MATCH_VERSION
|
||||||
#define IEEE1394_MATCH_SPECIFIER_ID 0x0004
|
* struct ieee1394_device_id
|
||||||
#define IEEE1394_MATCH_VERSION 0x0008
|
*/
|
||||||
|
#include <linux/mod_devicetable.h>
|
||||||
struct ieee1394_device_id {
|
|
||||||
u32 match_flags;
|
|
||||||
u32 vendor_id;
|
|
||||||
u32 model_id;
|
|
||||||
u32 specifier_id;
|
|
||||||
u32 version;
|
|
||||||
void *driver_data;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _IEEE1394_HOTPLUG_H */
|
#endif /* _IEEE1394_HOTPLUG_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user