From: David Schleef Date: Thu, 21 Nov 2002 08:27:17 +0000 (+0000) Subject: Fix to previous checkin X-Git-Tag: r0_7_66~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7554fc091cc268882a51d03a5ead672a53b1a800;p=comedi.git Fix to previous checkin --- diff --git a/include/linux/comedidev.h b/include/linux/comedidev.h index c664e358..0d3ca599 100644 --- a/include/linux/comedidev.h +++ b/include/linux/comedidev.h @@ -377,6 +377,11 @@ static inline unsigned long kvirt_to_pa(unsigned long adr) ret = __pa(kva); return ret; } +#else +static inline unsigned long kvirt_to_pa(unsigned long adr) +{ + return 0; +} #endif int comedi_buf_put(comedi_async *async, sampl_t x);