···11+#22+# Makefile for the kernel mmc core.33+#44+55+ifeq ($(CONFIG_MMC_DEBUG),y)66+ EXTRA_CFLAGS += -DDEBUG77+endif88+99+obj-$(CONFIG_MMC) += mmc_core.o1010+mmc_core-y := core.o sysfs.o1111+
+2-2
drivers/mmc/mmc.c
drivers/mmc/core/core.c
···11/*22- * linux/drivers/mmc/mmc.c22+ * linux/drivers/mmc/core/core.c33 *44 * Copyright (C) 2003-2004 Russell King, All Rights Reserved.55 * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.···2525#include <linux/mmc/host.h>2626#include <linux/mmc/protocol.h>27272828-#include "mmc.h"2828+#include "core.h"29293030#define CMD_RETRIES 33131
+3-3
drivers/mmc/mmc.h
drivers/mmc/core/core.h
···11/*22- * linux/drivers/mmc/mmc.h22+ * linux/drivers/mmc/core/core.h33 *44 * Copyright (C) 2003 Russell King, All Rights Reserved.55 *···77 * it under the terms of the GNU General Public License version 2 as88 * published by the Free Software Foundation.99 */1010-#ifndef _MMC_H1111-#define _MMC_H1010+#ifndef _MMC_CORE_H1111+#define _MMC_CORE_H1212/* core-internal functions */1313void mmc_init_card(struct mmc_card *card, struct mmc_host *host);1414int mmc_register_card(struct mmc_card *card);
+2-2
drivers/mmc/mmc_sysfs.c
drivers/mmc/core/sysfs.c
···11/*22- * linux/drivers/mmc/mmc_sysfs.c22+ * linux/drivers/mmc/core/sysfs.c33 *44 * Copyright (C) 2003 Russell King, All Rights Reserved.55 *···1818#include <linux/mmc/card.h>1919#include <linux/mmc/host.h>20202121-#include "mmc.h"2121+#include "core.h"22222323#define dev_to_mmc_card(d) container_of(d, struct mmc_card, dev)2424#define to_mmc_driver(d) container_of(d, struct mmc_driver, drv)
+1-1
include/linux/mmc/card.h
···1010#ifndef LINUX_MMC_CARD_H1111#define LINUX_MMC_CARD_H12121313-#include <linux/mmc/mmc.h>1313+#include <linux/mmc/core.h>14141515struct mmc_cid {1616 unsigned int manfid;
···11/*22- * linux/include/linux/mmc/mmc.h22+ * linux/include/linux/mmc/core.h33 *44 * This program is free software; you can redistribute it and/or modify55 * it under the terms of the GNU General Public License version 2 as66 * published by the Free Software Foundation.77 */88-#ifndef MMC_H99-#define MMC_H88+#ifndef LINUX_MMC_CORE_H99+#define LINUX_MMC_CORE_H10101111#include <linux/interrupt.h>1212#include <linux/device.h>