mmc: add per device quirk placeholder
authorPierre Tardy <pierre.tardy@intel.com>
Sun, 6 Feb 2011 18:03:46 +0000 (19:03 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 15 Mar 2011 17:48:33 +0000 (13:48 -0400)
commit57f0adc7eaaf4315d568e72069dbe48aa7e20995
tree233c66fd4f21b977f532702ce9427023b2e53e09
parent66c036e0142fed2484d58a2d3c7a4d21ba32b6a6
mmc: add per device quirk placeholder

Some cards have quirks valid for every platforms using current
platform quirk hooks leads to a lot of code and debug duplication.

So we inspire a bit from what exists in PCI subsystem and do our own
per vendorid/deviceid quirk.  We still drop the complexity of the pci
quirk system (with special section tables, and so on).
That can be added later if needed.

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/Makefile
drivers/mmc/core/core.h
drivers/mmc/core/quirks.c [new file with mode: 0644]
drivers/mmc/core/sdio.c
include/linux/mmc/card.h