libfprint/SOURCES/0130-driver_ids.h-Remove-the-legacy-ID-file.patch
2021-09-09 20:12:48 +00:00

82 lines
2.4 KiB
Diff

From d52dd93759b6e888e7286008fb7d82a6020aebad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Fri, 13 Dec 2019 21:31:43 +0100
Subject: [PATCH 130/181] driver_ids.h: Remove the legacy ID file
This is not used anymore by drivers as they all use GType's, so remove it
and any (dead) reference to it.
---
libfprint/drivers/driver_ids.h | 47 ----------------------------------
libfprint/drivers/etes603.c | 1 -
2 files changed, 48 deletions(-)
delete mode 100644 libfprint/drivers/driver_ids.h
diff --git a/libfprint/drivers/driver_ids.h b/libfprint/drivers/driver_ids.h
deleted file mode 100644
index 4270842..0000000
--- a/libfprint/drivers/driver_ids.h
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Driver IDs
- * Copyright (C) 2012 Vasily Khoruzhick <anarsoul@gmail.com>
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __DRIVER_IDS
-#define __DRIVER_IDS
-
-enum {
- UPEKTS_ID = 1,
- URU4000_ID = 2,
- AES4000_ID = 3,
- AES2501_ID = 4,
- UPEKTC_ID = 5,
- AES1610_ID = 6,
- /* FDU2000_ID = 7, */
- VCOM5S_ID = 8,
- UPEKSONLY_ID = 9,
- VFS101_ID = 10,
- VFS301_ID = 11,
- AES2550_ID = 12,
- /* UPEKE2_ID = 13 */
- AES1660_ID = 14,
- AES2660_ID = 15,
- AES3500_ID = 16,
- UPEKTC_IMG_ID = 17,
- ETES603_ID = 18,
- VFS5011_ID = 19,
- VFS0050_ID = 20,
- ELAN_ID = 21,
-};
-
-#endif
diff --git a/libfprint/drivers/etes603.c b/libfprint/drivers/etes603.c
index 5cd7f0b..f798f5b 100644
--- a/libfprint/drivers/etes603.c
+++ b/libfprint/drivers/etes603.c
@@ -36,7 +36,6 @@
#define FP_COMPONENT "etes603"
#include "drivers_api.h"
-#include "driver_ids.h"
/* libusb defines */
#define EP_IN 0x81
--
2.24.1