Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cef2e06c authored by Lee Jones's avatar Lee Jones Committed by Linus Walleij
Browse files

ARM: ux500: Remove unused call to register AMBA devices



Decomission the AMBA device register functions.

Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e937274f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@
# Makefile for the linux kernel, U8500 machine.
#

obj-y				:= cpu.o devices.o id.o timer.o pm.o
obj-y				:= cpu.o id.o timer.o pm.o
obj-$(CONFIG_CACHE_L2X0)	+= cache-l2x0.o
obj-$(CONFIG_UX500_SOC_DB8500)	+= cpu-db8500.o
obj-$(CONFIG_MACH_MOP500)	+= board-mop500-sdi.o \

arch/arm/mach-ux500/devices.c

deleted100644 → 0
+0 −26
Original line number Diff line number Diff line
/*
 * Copyright (C) ST-Ericsson SA 2010
 *
 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
 * License terms: GNU General Public License (GPL) version 2
 */

#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/amba/bus.h>

#include "setup.h"

#include "db8500-regs.h"

void __init amba_add_devices(struct amba_device *devs[], int num)
{
	int i;

	for (i = 0; i < num; i++) {
		struct amba_device *d = devs[i];
		amba_device_register(d, &iomem_resource);
	}
}
+0 −3
Original line number Diff line number Diff line
@@ -27,9 +27,6 @@ extern void __init ux500_init_irq(void);

extern struct device *ux500_soc_device_init(const char *soc_id);

struct amba_device;
extern void __init amba_add_devices(struct amba_device *devs[], int num);

extern void ux500_timer_init(void);

#define __IO_DEV_DESC(x, sz)	{		\