Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258804
b: refs/heads/master
c: 7569fc5
h: refs/heads/master
v: v3
  • Loading branch information
Banajit Goswami authored and Kukjin Kim committed Jul 20, 2011
1 parent d664178 commit d33d2f7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 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: 17e86d3879d589fce4c457bfb9a2029f883fb2cb
refs/heads/master: 7569fc5463cb212ac166d13187527f0338c27316
10 changes: 4 additions & 6 deletions trunk/arch/arm/mach-s3c64xx/dev-onenand1.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include <mach/irqs.h>
#include <mach/map.h>

#include <plat/devs.h>

static struct resource s3c64xx_onenand1_resources[] = {
[0] = {
.start = S3C64XX_PA_ONENAND1,
Expand Down Expand Up @@ -46,10 +48,6 @@ struct platform_device s3c64xx_device_onenand1 = {

void s3c64xx_onenand1_set_platdata(struct onenand_platform_data *pdata)
{
struct onenand_platform_data *pd;

pd = kmemdup(pdata, sizeof(struct onenand_platform_data), GFP_KERNEL);
if (!pd)
printk(KERN_ERR "%s: no memory for platform data\n", __func__);
s3c64xx_device_onenand1.dev.platform_data = pd;
s3c_set_platdata(pdata, sizeof(struct onenand_platform_data),
&s3c64xx_device_onenand1);
}

0 comments on commit d33d2f7

Please sign in to comment.