diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-11-20 08:47:32 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-04 17:15:25 -0700 |
commit | cd56f35e52d9496cbf5c85d27af9bdb064bec8df (patch) | |
tree | 985a7967672952f22f971cc3f9f1d70a2a07773b /arch/mips/include/asm/mach-rc32434 | |
parent | 83a7faace12e1bca6f659e117cde85769385fe08 (diff) | |
download | linux-cd56f35e52d9496cbf5c85d27af9bdb064bec8df.tar.bz2 |
ata: rb532_cf: Convert to use GPIO descriptors
Pass a GPIO descriptor for the device instead of a hardcoded
GPIO number from the global GPIO numberspace. Use gpio
descriptors throughout.
Cut the now completely unused platform data for the CF slot.
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Cc: Matt Redfearn <matt.redfearn@mips.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/mips/include/asm/mach-rc32434')
-rw-r--r-- | arch/mips/include/asm/mach-rc32434/rb.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/mips/include/asm/mach-rc32434/rb.h b/arch/mips/include/asm/mach-rc32434/rb.h index aac8ce8902e7..5dfd4d66d6fc 100644 --- a/arch/mips/include/asm/mach-rc32434/rb.h +++ b/arch/mips/include/asm/mach-rc32434/rb.h @@ -71,12 +71,6 @@ struct korina_device { struct net_device *dev; }; -struct cf_device { - int gpio_pin; - void *dev; - struct gendisk *gd; -}; - struct mpmc_device { unsigned char state; spinlock_t lock; |