X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fram_cd.c;h=87670c776236a65ef6baa7b51bb2b1bdcc304b8a;hb=82b8b87c344fcd1eab22e3f3be5ad54cbb3f8f68;hp=b6a1bf69ecaf36d60c119d243b5fb34a10e6585e;hpb=37c18b2c2335a41c68c2f0b779fd2b7d51ab216d;p=palacios.git diff --git a/palacios/src/devices/ram_cd.c b/palacios/src/devices/ram_cd.c index b6a1bf6..87670c7 100644 --- a/palacios/src/devices/ram_cd.c +++ b/palacios/src/devices/ram_cd.c @@ -22,7 +22,7 @@ #include #include -#ifndef DEBUG_IDE +#ifndef CONFIG_DEBUG_IDE #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -62,7 +62,7 @@ static uint32_t cd_get_capacity(void * private_data) { return cd->capacity / ATAPI_BLOCK_SIZE; } -static struct v3_ide_cd_ops cd_ops = { +static struct v3_cd_ops cd_ops = { .read = cd_read, .get_capacity = cd_get_capacity, };