커널 2.4.18-rmk7-swl8 에서 make menuconfig치고
MMC/SD Card Support 에서
<*> MMC support q q
q q [*] MMC debugging q q
q q (0) MMC debugging verbosity (0=quiet, 3=noisy) q q
q q [*] S3C2410 MMC Support
해주었읍니다.
그리고 make dep; make clean; make uImage 하는데 아래와 같이 에러가 뜨네



make[3]: 들어감 `/bluesky2410/linux/drivers/mmc' 디렉토리
arm_920TDI-gcc -D__KERNEL__ -I/bluesky2410/linux/include -Wall -Wstrict-
prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -
fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-load-
bytes -msoft-float -DKBUILD_BASENAME=mmc_protocol -c -o mmc_protocol.o
mmc_protocol.c
mmc_protocol.c: In function `mmc_cim_init_stack':
mmc_protocol.c:389: warning: implicit declaration of function `udelay'
arm_920TDI-gcc -D__KERNEL__ -I/bluesky2410/linux/include -Wall -Wstrict-
prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -
fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-load-
bytes -msoft-float -DKBUILD_BASENAME=mmc_core -DEXPORT_SYMTAB -c
mmc_core.c
mmc_core.c:461: warning: `struct sleeve_dev' declared inside parameter
list
mmc_core.c:461: warning: its scope is only this definition or
declaration, which is probably not what you want.
mmc_core.c:461: conflicting types for `run_sbin_mmc_hotplug'
mmc_core.h:65: previous declaration of `run_sbin_mmc_hotplug'
make[3]: *** [mmc_core.o] 오류 1
make[3]: 나감 `/bluesky2410/linux/drivers/mmc' 디렉토리
make[2]: *** [first_rule] 오류 2
make[2]: 나감 `/bluesky2410/linux/drivers/mmc' 디렉토리
make[1]: *** [_subdir_mmc] 오류 2
make[1]: 나감 `/bluesky2410/linux/drivers' 디렉토리
make: *** [_dir_drivers] 오류 2
[root@ijcomputer linux]#


소스를 보면 mmc_cor.h 에
void run_sbin_mmc_hotplug(struct mmc_dev *dev, int id, int insert);
라고 선언되어 있고

mmc_core.c 를 보면 아래와 같습니다.
397 #ifdef CONFIG_HOTPLUG
398
399 extern char hotplug_path[];
400 extern int call_usermodehelper(char *path, char **argv, char
**envp);
401
402 static void run_sbin_hotplug(struct mmc_dev *dev, int id, int
insert)
403 {
404 int i;
405 char *argv[3], *envp[8];
406 char media[64], slotnum[16];
407
408 if (!hotplug_path[0])
409 return;


중략 ...
450 static struct tq_struct mmc_hotplug_task = {
451 routine: mmc_hotplug_task_handler
452 };
453
454 void run_sbin_mmc_hotplug(struct mmc_dev *dev, int id, int insert )
455 {
456 mmc_hotplug_task.data = (void *) ((id << 1) | insert);
457 schedule_task( &mmc_hotplug_task );
458 }
459
460 #else
461 void run_sbin_mmc_hotplug(struct sleeve_dev *sdev, int insert) { }
462 #endif /* CONFIG_HOTPLUG */
463
464

이런경우 어떻게 잡아줘야 하나요?