diff options
author | Rob Herring <robh@kernel.org> | 2018-06-19 15:36:20 -0600 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2018-06-21 13:57:39 +0200 |
commit | 45df561a7ae2ca5080708cc2cf84a236f4d930ef (patch) | |
tree | d692aef30b98bec81c0769bba9cbac05ae76bc7a /arch/microblaze/kernel/platform.c | |
parent | 2dbeb7040a21846facbeea876e85cbde41fa81e9 (diff) | |
download | linux-stable-45df561a7ae2ca5080708cc2cf84a236f4d930ef.tar.gz linux-stable-45df561a7ae2ca5080708cc2cf84a236f4d930ef.tar.bz2 linux-stable-45df561a7ae2ca5080708cc2cf84a236f4d930ef.zip |
microblaze: consolidate GPIO reset handling
Now that platform.c only has the GPIO reset handling left, move the
initcall to reset.c and remove platform.c.
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/platform.c')
-rw-r--r-- | arch/microblaze/kernel/platform.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/arch/microblaze/kernel/platform.c b/arch/microblaze/kernel/platform.c deleted file mode 100644 index b9a414552d9b..000000000000 --- a/arch/microblaze/kernel/platform.c +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright 2008 Michal Simek <monstr@monstr.eu> - * - * based on virtex.c file - * - * Copyright 2007 Secret Lab Technologies Ltd. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -#include <linux/init.h> -#include <linux/of_platform.h> -#include <asm/setup.h> - -static int __init microblaze_device_probe(void) -{ - of_platform_reset_gpio_probe(); - return 0; -} -device_initcall(microblaze_device_probe); |