Allow complete removal of FDC

This commit is contained in:
Jasmine Iwanek
2022-08-24 04:42:25 -04:00
parent 0a8d98e913
commit add1c39188

View File

@@ -97,7 +97,6 @@ fdc_log(const char *fmt, ...)
# define fdc_log(fmt, ...) # define fdc_log(fmt, ...)
#endif #endif
#if 0
const device_t fdc_none_device = { const device_t fdc_none_device = {
.name = "None", .name = "None",
.internal_name = "none", .internal_name = "none",
@@ -111,7 +110,6 @@ const device_t fdc_none_device = {
.force_redraw = NULL, .force_redraw = NULL,
.config = NULL .config = NULL
}; };
#endif
const device_t fdc_internal_device = { const device_t fdc_internal_device = {
.name = "Internal", .name = "Internal",
@@ -133,9 +131,7 @@ typedef const struct {
static fdc_cards_t fdc_cards[] = { static fdc_cards_t fdc_cards[] = {
// clang-format off // clang-format off
#if 0
{ &fdc_none_device }, { &fdc_none_device },
#endif
{ &fdc_internal_device }, { &fdc_internal_device },
{ &fdc_b215_device }, { &fdc_b215_device },
{ &fdc_pii151b_device }, { &fdc_pii151b_device },