Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
mtd
/
onenand
/
samsung.c
diff --git
a/kernel/drivers/mtd/onenand/samsung.c
b/kernel/drivers/mtd/onenand/samsung.c
index
19cfb97
..
af0ac1a
100644
(file)
--- a/
kernel/drivers/mtd/onenand/samsung.c
+++ b/
kernel/drivers/mtd/onenand/samsung.c
@@
-864,7
+864,6
@@
static int s3c_onenand_probe(struct platform_device *pdev)
this = (struct onenand_chip *) &mtd[1];
mtd->priv = this;
mtd->dev.parent = &pdev->dev;
this = (struct onenand_chip *) &mtd[1];
mtd->priv = this;
mtd->dev.parent = &pdev->dev;
- mtd->owner = THIS_MODULE;
onenand->pdev = pdev;
onenand->type = platform_get_device_id(pdev)->driver_data;
onenand->pdev = pdev;
onenand->type = platform_get_device_id(pdev)->driver_data;
@@
-1083,7
+1082,7
@@
static const struct dev_pm_ops s3c_pm_ops = {
.resume = s3c_pm_ops_resume,
};
.resume = s3c_pm_ops_resume,
};
-static struct platform_device_id s3c_onenand_driver_ids[] = {
+static
const
struct platform_device_id s3c_onenand_driver_ids[] = {
{
.name = "s3c6400-onenand",
.driver_data = TYPE_S3C6400,
{
.name = "s3c6400-onenand",
.driver_data = TYPE_S3C6400,