Fix to previous checkin
authorDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 08:27:17 +0000 (08:27 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 21 Nov 2002 08:27:17 +0000 (08:27 +0000)
include/linux/comedidev.h

index c664e358e89182d1e70692d10358e30529511bd2..0d3ca599fb820a5ea2baaf06eba05c89e39c4e51 100644 (file)
@@ -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);