Skip to contentSkip to conversation

x86: rename module scx200_32 to scx200

PATCH In review Sam Ravnborg 2 participants 2 messages Feb 3, 2008 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: rename module scx200_32 to scx200

The module scx200 were renamed to scx200_32 by the merge of the 32 and 64 bit x86 arch trees.

Keep the _32 prefix on the .c file as it is 32 bit specific and fix the module name in the Makefile.

Cc Ingo Molnar <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc "H. Peter Anvin" <[email protected]>

---

Found during audit for this issue.
One other file uses module_init: vmiclock_32.c But this file cannot be build as a module with present configuration.

Build time tested only but obviously correct.

Sam

arch/x86/kernel/Makefile +2 -1
index 6f81300..55106aa 100644
@@ -74,7 +74,8 @@ ifdef CONFIG_INPUT_PCSPKR
 obj-y				+= pcspeaker.o
 endif
 
-obj-$(CONFIG_SCx200)		+= scx200_32.o
+obj-$(CONFIG_SCx200)		+= scx200.o
+scx200-y			+= scx200_32.o
 
 ###
 # 64 bit specific files
#1 lore raw
Quoted 5 lines · Sam Ravnborg

The module scx200 were renamed to scx200_32 by the merge of the 32 and 64 bit x86 arch trees.

Keep the _32 prefix on the .c file as it is 32 bit specific and fix the module name in the Makefile.

thanks Sam for auditing for _32 module renamess - applied.

Ingo