[PATCH] export symbol ds1287_regs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just a small patch, applies cleanly on 2.6.16.19.
(Maybe it would be nicer to put it in sparc64_ksyms.c?)

Symptom:
CONFIG_PCI=y
CONFIG_RTC=m
# modprobe rtc
FATAL: Error inserting rtc (/lib/modules/.../rtc.ko): Unknown symbol
in module, or unknown parameter (see dmesg)
# dmesg
rtc: Unknown symbol ds1287_regs

--- linux-2.6.16/arch/sparc64/kernel/time.c     2006-03-20
05:53:29.000000000 +0000
+++ linux-2.6.16/arch/sparc64/kernel/time.c     2006-03-22
14:36:57.000000000 +0000
@@ -51,6 +51,7 @@
void __iomem *mstk48t02_regs = NULL;
#ifdef CONFIG_PCI
unsigned long ds1287_regs = 0UL;
+EXPORT_SYMBOL(ds1287_regs);
#endif

extern unsigned long wall_jiffies;
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux