mmc: add per device quirk placeholder
authorPierre Tardy <pierre.tardy@intel.com>
Sun, 6 Feb 2011 18:03:46 +0000 (19:03 +0100)
committerKen Sumrall <ksumrall@android.com>
Thu, 7 Apr 2011 22:18:38 +0000 (15:18 -0700)
commit54366fa8f94f6efe9436850cef23ebcb35961ef3
tree2657f85facbc094e6d4eba69ce6b0ce022b77db3
parent17286cfd88964880eddf6b570f2b0da500191a23
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.

Change-Id: Ib67a3e97486023267f5ea3e7c6ef8fc99b13a704
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