summaryrefslogtreecommitdiff
path: root/drivers/mmc/core/Makefile
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2013-04-04 17:45:52 +0530
committerMrutyunjay Sawant <msawant@nvidia.com>2013-04-10 03:49:44 -0700
commit18a8df49d7fc837cc805ef2b0601d3a301915060 (patch)
treeae72a68a611384c73dfecd22424ca107bb4ca810 /drivers/mmc/core/Makefile
parent50ef135c30f3f9a0b7758068fbf31d8db4f92893 (diff)
mmc: core: Dynamic freq scaling for SD,MMC,SDIO
Added support for dynamic frequency scaling of SD,MMC,SDIO devices. The device is registered with devfreq framework after enumeration if CONFIG_MMC_FREQ_SCALING is enabled. MMC frequency governor is added to dynamically scale the frequency. The governor doesn't use central polling but schedules a work to poll the status of the device periodically. Optional callbacks are provided to have custom algorithms for determining the frequency. Bug 1238045 Bug 1044607 Change-Id: Ic7f5669c784afa759ad52bf8373011838a76c01c Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/213012 GVS: Gerrit_Virtual_Submit Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Diffstat (limited to 'drivers/mmc/core/Makefile')
-rw-r--r--drivers/mmc/core/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/core/Makefile b/drivers/mmc/core/Makefile
index dca4428380f1..b78bf97d02cb 100644
--- a/drivers/mmc/core/Makefile
+++ b/drivers/mmc/core/Makefile
@@ -1,6 +1,7 @@
#
# Makefile for the kernel mmc core.
#
+ccflags-y := -Idrivers/devfreq
obj-$(CONFIG_MMC) += mmc_core.o
mmc_core-y := core.o bus.o host.o \