mic-985xx: Drop unneeded #define.

This commit is contained in:
Uwe Hermann 2014-11-18 23:19:48 +01:00
parent d6e1e6c4e1
commit 20a7cd07c9
1 changed files with 1 additions and 4 deletions

View File

@ -30,14 +30,11 @@
#define LOG_PREFIX "mic-985xx"
/* Note: When adding entries here, don't forget to update MIC_DEV_COUNT. */
enum {
MIC_98581,
MIC_98583,
};
#define MIC_DEV_COUNT 2
struct mic_dev_info {
char *vendor;
char *device;
@ -51,7 +48,7 @@ struct mic_dev_info {
int (*receive_data)(int, int, void *);
};
extern SR_PRIV const struct mic_dev_info mic_devs[MIC_DEV_COUNT];
extern SR_PRIV const struct mic_dev_info mic_devs[];
#define SERIAL_BUFSIZE 256