Commit Graph
7 Commits
Author SHA1 Message Date
Heiner Kallweit feeef096a7 mmc: use new core function mmc_get_dma_dir
Use new core function mmc_get_dma_dir().

Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
2017-04-24 21:41:52 +02:00
Linus Torvalds 7c0f6ba682 Replace <asm/uaccess.h> with <linux/uaccess.h> globally
This was entirely automated, using the script by Al:

  PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>'
  sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \
        $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h)

to do the replacement at the end of the merge window.

Requested-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2016-12-24 11:46:01 -08:00
Christoph Hellwig 092b6dbe8a mmc: android-goldfish: remove incorrect __iomem annotation
Make sparse happy:

drivers/mmc/host/android-goldfish.c:535:56: sparse: incorrect type in
argument 3 (different address spaces)

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
2015-09-01 14:19:11 +02:00
Christoph Hellwig 84be456f88 remove <asm/scatterlist.h>
We don't have any arch specific scatterlist now that parisc switched over
to the generic one.

Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
2015-05-05 13:35:39 -06:00
Jingoo Han 113a87f868 mmc: remove unnecessary platform_set_drvdata()
The driver core clears the driver data to NULL after device_release
or on probe failure, since commit 0998d06310
(device-core: Ensure drvdata = NULL when no driver is bound).
Thus, it is not needed to manually clear the device driver data to NULL.

Signed-off-by: Jingoo Han <[email protected]>
Acked-by: Sonic Zhang <[email protected]>
Acked-by: Seungwon Jeon <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Acked-by: Haojian Zhuang <[email protected]>
Acked-by: Jaehoon Chung <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Acked-by: Tony Prisk <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-05-26 14:23:23 -04:00
Silviu-Mihai Popescu 6a966e0609 mmc: android-goldfish: use resource_size()
Use resource_size() instead of explicit calculation. This was found via
make coccicheck.

Signed-off-by: Silviu-Mihai Popescu <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-03-22 12:53:52 -04:00
Mike Lockwood 85c34d2e7b mmc: goldfish: emulated MMC device
This driver handles the virtual MMC device present in the Goldfish emulator.
The patch folds together initial work from Mike Lockwood and patches by
San Mehat, Jun Nakajima and Tom Keel <[email protected]> plus cleanups
by Alan Cox to get it all into 3.6 shape.

Signed-off-by: Mike A. Chan <[email protected]>
[cleaned up and x86 support added]
Signed-off-by: Sheng Yang <[email protected]>
Signed-off-by: Yunhong Jiang <[email protected]>
Signed-off-by: Xiaohui Xin <[email protected]>
Signed-off-by: Jun Nakajima <[email protected]>
Signed-off-by: Bruce Beare <[email protected]>
[Moved to 3.4]
Signed-off-by: Tom Keel <[email protected]>
[Moved to 3.7]
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
2013-02-24 14:37:04 -05:00