Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53579
b: refs/heads/master
c: aaac1b4
h: refs/heads/master
i:
  53577: e8e9b35
  53575: f519e25
v: v3
  • Loading branch information
Pierre Ossman committed May 1, 2007
1 parent 05f297b commit 6fd6efb
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b855885e3b60cf6f9452848712a62517b94583eb
refs/heads/master: aaac1b470bd0dccb30912356617069dc6199cc80
7 changes: 1 addition & 6 deletions trunk/drivers/mmc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ ifeq ($(CONFIG_MMC_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

#
# Core
#
obj-$(CONFIG_MMC) += mmc_core.o
mmc_core-y := mmc.o mmc_sysfs.o

obj-$(CONFIG_MMC) += core/
obj-$(CONFIG_MMC) += card/
obj-$(CONFIG_MMC) += host/

11 changes: 11 additions & 0 deletions trunk/drivers/mmc/core/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#
# Makefile for the kernel mmc core.
#

ifeq ($(CONFIG_MMC_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

obj-$(CONFIG_MMC) += mmc_core.o
mmc_core-y := core.o sysfs.o

4 changes: 2 additions & 2 deletions trunk/drivers/mmc/mmc.c → trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/drivers/mmc/mmc.c
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
Expand All @@ -25,7 +25,7 @@
#include <linux/mmc/host.h>
#include <linux/mmc/protocol.h>

#include "mmc.h"
#include "core.h"

#define CMD_RETRIES 3

Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/mmc/mmc.h → trunk/drivers/mmc/core/core.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
/*
* linux/drivers/mmc/mmc.h
* linux/drivers/mmc/core/core.h
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef _MMC_H
#define _MMC_H
#ifndef _MMC_CORE_H
#define _MMC_CORE_H
/* core-internal functions */
void mmc_init_card(struct mmc_card *card, struct mmc_host *host);
int mmc_register_card(struct mmc_card *card);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/drivers/mmc/mmc_sysfs.c
* linux/drivers/mmc/core/sysfs.c
*
* Copyright (C) 2003 Russell King, All Rights Reserved.
*
Expand All @@ -18,7 +18,7 @@
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>

#include "mmc.h"
#include "core.h"

#define dev_to_mmc_card(d) container_of(d, struct mmc_card, dev)
#define to_mmc_driver(d) container_of(d, struct mmc_driver, drv)
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mmc/card.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef LINUX_MMC_CARD_H
#define LINUX_MMC_CARD_H

#include <linux/mmc/mmc.h>
#include <linux/mmc/core.h>

struct mmc_cid {
unsigned int manfid;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* linux/include/linux/mmc/mmc.h
* linux/include/linux/mmc/core.h
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef MMC_H
#define MMC_H
#ifndef LINUX_MMC_CORE_H
#define LINUX_MMC_CORE_H

#include <linux/interrupt.h>
#include <linux/device.h>
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef LINUX_MMC_HOST_H
#define LINUX_MMC_HOST_H

#include <linux/mmc/mmc.h>
#include <linux/mmc/core.h>

struct mmc_ios {
unsigned int clock; /* clock rate */
Expand Down

0 comments on commit 6fd6efb

Please sign in to comment.