projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ata/pata_arasan_cf: Move arasan_cf_pm_ops out of #ifdef, #endif macros
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
drivers
/
ata
/
pata_arasan_cf.c
diff --git
a/drivers/ata/pata_arasan_cf.c
b/drivers/ata/pata_arasan_cf.c
index
fc2db2a
..
3239517
100644
(file)
--- a/
drivers/ata/pata_arasan_cf.c
+++ b/
drivers/ata/pata_arasan_cf.c
@@
-943,9
+943,9
@@
static int arasan_cf_resume(struct device *dev)
return 0;
}
return 0;
}
+#endif
static SIMPLE_DEV_PM_OPS(arasan_cf_pm_ops, arasan_cf_suspend, arasan_cf_resume);
static SIMPLE_DEV_PM_OPS(arasan_cf_pm_ops, arasan_cf_suspend, arasan_cf_resume);
-#endif
static struct platform_driver arasan_cf_driver = {
.probe = arasan_cf_probe,
static struct platform_driver arasan_cf_driver = {
.probe = arasan_cf_probe,
@@
-953,9
+953,7
@@
static struct platform_driver arasan_cf_driver = {
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,
-#ifdef CONFIG_PM
.pm = &arasan_cf_pm_ops,
.pm = &arasan_cf_pm_ops,
-#endif
},
};
},
};