Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272530
b: refs/heads/master
c: 160a84c
h: refs/heads/master
v: v3
  • Loading branch information
Uwe Kleine-König committed Aug 1, 2011
1 parent 1294b46 commit 3f49639
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47ccfc340aa83e0741d9cabd7f5a3e74659a411d
refs/heads/master: 160a84cfc975f4aaec1cb32a48bba23ccaf43761
14 changes: 0 additions & 14 deletions trunk/arch/arm/plat-mxc/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@
#include <linux/platform_device.h>
#include <mach/common.h>

int __init mxc_register_device(struct platform_device *pdev, void *data)
{
int ret;

pdev->dev.platform_data = data;

ret = platform_device_register(pdev);
if (ret)
pr_debug("Unable to register platform device '%s': %d\n",
pdev->name, ret);

return ret;
}

struct platform_device *__init imx_add_platform_device_dmamask(
const char *name, int id,
const struct resource *res, unsigned int num_resources,
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/arm/plat-mxc/include/mach/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ extern int mx53_clocks_init(unsigned long ckil, unsigned long osc,
unsigned long ckih1, unsigned long ckih2);
extern struct platform_device *mxc_register_gpio(char *name, int id,
resource_size_t iobase, resource_size_t iosize, int irq, int irq_high);
extern int mxc_register_device(struct platform_device *pdev, void *data);
extern void mxc_set_cpu_type(unsigned int type);
extern void mxc_arch_reset_init(void __iomem *);
extern void mx51_efikamx_reset(void);
Expand Down

0 comments on commit 3f49639

Please sign in to comment.