diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:16:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:02 -0500 |
commit | c571b211a70bcb04249be5cb7338f95d2ec8100f (patch) | |
tree | 4a47da45337a2d9d0e09f518d81377404bb99909 /drivers/amba/tegra-ahb.c | |
parent | 4eab7a9eb2def0b4b0f36397a6cfca6eadba7302 (diff) |
Drivers: amba: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
markings need to be removed, as well as the use of CONFIG_HOTPLUG.
This patch does both, removing the use of CONFIG_HOTPLUG in the
amba/bus.c file, and __devinit and __devinitconst in the tegra-ahb.c
driver.
Cc: Bill Pemberton <wfp5p@virginia.edu>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/amba/tegra-ahb.c')
-rw-r--r-- | drivers/amba/tegra-ahb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c index 0576a7dd32a5..536c166f4253 100644 --- a/drivers/amba/tegra-ahb.c +++ b/drivers/amba/tegra-ahb.c | |||
@@ -243,7 +243,7 @@ static void tegra_ahb_gizmo_init(struct tegra_ahb *ahb) | |||
243 | gizmo_writel(ahb, val, AHB_MEM_PREFETCH_CFG4); | 243 | gizmo_writel(ahb, val, AHB_MEM_PREFETCH_CFG4); |
244 | } | 244 | } |
245 | 245 | ||
246 | static int __devinit tegra_ahb_probe(struct platform_device *pdev) | 246 | static int tegra_ahb_probe(struct platform_device *pdev) |
247 | { | 247 | { |
248 | struct resource *res; | 248 | struct resource *res; |
249 | struct tegra_ahb *ahb; | 249 | struct tegra_ahb *ahb; |
@@ -267,7 +267,7 @@ static int __devinit tegra_ahb_probe(struct platform_device *pdev) | |||
267 | return 0; | 267 | return 0; |
268 | } | 268 | } |
269 | 269 | ||
270 | static const struct of_device_id tegra_ahb_of_match[] __devinitconst = { | 270 | static const struct of_device_id tegra_ahb_of_match[] = { |
271 | { .compatible = "nvidia,tegra30-ahb", }, | 271 | { .compatible = "nvidia,tegra30-ahb", }, |
272 | { .compatible = "nvidia,tegra20-ahb", }, | 272 | { .compatible = "nvidia,tegra20-ahb", }, |
273 | {}, | 273 | {}, |