*/
#include "coreinfo.h"
+
+#ifdef CONFIG_MODULE_CPUINFO
#include <arch/rdtsc.h>
#define VENDOR_INTEL 0x756e6547
.name = "CPU Info",
.init = cpuinfo_module_init,
.redraw = cpuinfo_module_redraw,
- .handle = NULL,
};
+
+#else
+
+struct coreinfo_module cpuinfo_module = {
+};
+
+#endif