~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to arch/arm/plat-s5p/dev-onenand.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
#include <linux/kernel.h>
17
17
#include <linux/platform_device.h>
18
 
#include <linux/mtd/mtd.h>
19
 
#include <linux/mtd/onenand.h>
20
18
 
21
19
#include <mach/irqs.h>
22
20
#include <mach/map.h>
45
43
        .num_resources  = ARRAY_SIZE(s5p_onenand_resources),
46
44
        .resource       = s5p_onenand_resources,
47
45
};
48
 
 
49
 
void s5p_onenand_set_platdata(struct onenand_platform_data *pdata)
50
 
{
51
 
        struct onenand_platform_data *pd;
52
 
 
53
 
        pd = kmemdup(pdata, sizeof(struct onenand_platform_data), GFP_KERNEL);
54
 
        if (!pd)
55
 
                printk(KERN_ERR "%s: no memory for platform data\n", __func__);
56
 
        s5p_device_onenand.dev.platform_data = pd;
57
 
}