android_kernel_motorola_sm6225/include/linux/mmc
Paul Gortmaker 313162d0b8 device.h: audit and cleanup users in main include dir
The <linux/device.h> header includes a lot of stuff, and
it in turn gets a lot of use just for the basic "struct device"
which appears so often.

Clean up the users as follows:

1) For those headers only needing "struct device" as a pointer
in fcn args, replace the include with exactly that.

2) For headers not really using anything from device.h, simply
delete the include altogether.

3) For headers relying on getting device.h implicitly before
being included themselves, now explicitly include device.h

4) For files in which doing #1 or #2 uncovers an implicit
dependency on some other header, fix by explicitly adding
the required header(s).

Any C files that were implicitly relying on device.h to be
present have already been dealt with in advance.

Total removals from #1 and #2: 51.  Total additions coming
from #3: 9.  Total other implicit dependencies from #4: 7.

As of 3.3-rc1, there were 110, so a net removal of 42 gives
about a 38% reduction in device.h presence in include/*

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
2012-03-16 10:38:24 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
cd-gpio.h mmc: add a generic GPIO card-detect helper 2012-01-11 23:58:45 -05:00
core.h device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
dw_mmc.h mmc: dw_mmc: Add more capabilities field 2012-01-11 23:58:44 -05:00
host.h device.h: audit and cleanup users in main include dir 2012-03-16 10:38:24 -04:00
ioctl.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
mmc.h mmc: core: HS200 mode support for eMMC 4.5 2012-01-12 15:17:15 -05:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-pci-data.h mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-spear.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci.h mmc: host: Adds support for eMMC 4.5 HS200 mode 2012-01-12 15:17:16 -05:00
sdio.h mmc: sdio: support SDIO UHS cards 2012-01-11 23:58:41 -05:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sh_mmcif.h mmc: sh_mmcif: simplify platform data 2011-10-26 16:32:09 -04:00
sh_mobile_sdhi.h mmc: sdhi: Allow named IRQs to use specific handlers 2011-10-26 15:43:36 -04:00
tmio.h mmc: sdhi: Add write16_hook 2011-07-20 17:20:57 -04:00