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>
Fri, 8 Apr 2011 00:53:24 +0000 (17:53 -0700)
commit2c6f5267b56114e33fd61040bbbdc827e59458c4
treedee88b94bdfa7f5713af3968895a1454e99c381d
parentdd71a2478264c5b8297f94ed21c79efdcbd57228
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