Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140277
b: refs/heads/master
c: 234f2df
h: refs/heads/master
i:
  140275: 9de578c
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Dan Williams committed Mar 25, 2009
1 parent 18fb7ae commit e41f778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: 0149f7d5dc66dcffbb044ba005a5378a5864d2a3
refs/heads/master: 234f2df56f5b05756c444edc9879145deddf69f4
8 changes: 4 additions & 4 deletions trunk/drivers/dma/ipu/ipu_idmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1576,7 +1576,7 @@ static int __init ipu_idmac_init(struct ipu *ipu)
return dma_async_device_register(&idmac->dma);
}

static void ipu_idmac_exit(struct ipu *ipu)
static void __exit ipu_idmac_exit(struct ipu *ipu)
{
int i;
struct idmac *idmac = &ipu->idmac;
Expand All @@ -1595,7 +1595,7 @@ static void ipu_idmac_exit(struct ipu *ipu)
* IPU common probe / remove
*/

static int ipu_probe(struct platform_device *pdev)
static int __init ipu_probe(struct platform_device *pdev)
{
struct ipu_platform_data *pdata = pdev->dev.platform_data;
struct resource *mem_ipu, *mem_ic;
Expand Down Expand Up @@ -1695,7 +1695,7 @@ static int ipu_probe(struct platform_device *pdev)
return ret;
}

static int ipu_remove(struct platform_device *pdev)
static int __exit ipu_remove(struct platform_device *pdev)
{
struct ipu *ipu = platform_get_drvdata(pdev);

Expand All @@ -1720,7 +1720,7 @@ static struct platform_driver ipu_platform_driver = {
.name = "ipu-core",
.owner = THIS_MODULE,
},
.remove = ipu_remove,
.remove = __exit_p(ipu_remove),
};

static int __init ipu_init(void)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/dma/ipu/ipu_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ static struct irq_chip ipu_irq_chip = {
};

/* Install the IRQ handler */
int ipu_irq_attach_irq(struct ipu *ipu, struct platform_device *dev)
int __init ipu_irq_attach_irq(struct ipu *ipu, struct platform_device *dev)
{
struct ipu_platform_data *pdata = dev->dev.platform_data;
unsigned int irq, irq_base, i;
Expand Down

0 comments on commit e41f778

Please sign in to comment.