Basic device discovery infrastructure

This commit is contained in:
Daniel Drake
2007-10-08 16:55:50 +01:00
parent 046bdc0bda
commit 7d31cb4d45
3 changed files with 94 additions and 0 deletions

View File

@@ -22,6 +22,10 @@
#include <stdint.h>
#include <usb.h>
#include <fprint.h>
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a))
struct usb_id {
@@ -38,5 +42,10 @@ struct fp_driver {
extern const struct fp_driver upekts_driver;
struct fp_dscv_dev {
struct usb_device *udev;
const struct fp_driver *drv;
};
#endif