$NetBSD: patch-ai,v 1.1 2002/10/02 05:28:38 uebayasi Exp $

--- source/linuxrtc/rtc.c	Thu Sep 19 23:53:19 2002
+++ source/linuxrtc/rtc.c	Thu Sep 19 23:54:10 2002
@@ -87,7 +87,11 @@
 };
 
 
+#if __NetBSD_Version__ >= 106080000
+MOD_DEV("linuxrtc", "linuxrtc", NULL, -1, &rtc_dev, -1)
+#else
 MOD_DEV("linuxrtc", LM_DT_CHAR, -1, &rtc_dev)
+#endif
 
 int
 rtc_lkmentry(struct lkm_table *lkmtp, int cmd, int ver)
