From 7554fc091cc268882a51d03a5ead672a53b1a800 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 21 Nov 2002 08:27:17 +0000 Subject: [PATCH] Fix to previous checkin --- include/linux/comedidev.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.26.2