X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fnet_cd.c;h=f980bab6abcc3fbb6fcf5ebe55d0c93828fc93bf;hp=26517bb2c0f12f0d73005e655e0367be46eb8774;hb=0e097100a26bc43eb8964734fa43130fc4c71429;hpb=37c18b2c2335a41c68c2f0b779fd2b7d51ab216d diff --git a/palacios/src/devices/net_cd.c b/palacios/src/devices/net_cd.c index 26517bb..f980bab 100644 --- a/palacios/src/devices/net_cd.c +++ b/palacios/src/devices/net_cd.c @@ -22,7 +22,7 @@ #include #include -#ifndef DEBUG_IDE +#ifndef CONFIG_DEBUG_IDE #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -158,7 +158,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, };