Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47145210 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

const: constify remaining dev_pm_ops

parent 0ead0f84
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -293,7 +293,7 @@ static int fpga_resume_noirq(struct device *dev)
	return 0;
}

static struct dev_pm_ops fpga_dev_pm_ops = {
static const struct dev_pm_ops fpga_dev_pm_ops = {
	.suspend_noirq = fpga_suspend_noirq,
	.resume_noirq = fpga_resume_noirq,
};
+1 −1
Original line number Diff line number Diff line
@@ -1431,7 +1431,7 @@ static int omap_mpuio_resume_noirq(struct device *dev)
	return 0;
}

static struct dev_pm_ops omap_mpuio_dev_pm_ops = {
static const struct dev_pm_ops omap_mpuio_dev_pm_ops = {
	.suspend_noirq = omap_mpuio_suspend_noirq,
	.resume_noirq = omap_mpuio_resume_noirq,
};
+1 −1
Original line number Diff line number Diff line
@@ -551,7 +551,7 @@ static int appldata_thaw(struct device *dev)
	return appldata_restore(dev);
}

static struct dev_pm_ops appldata_pm_ops = {
static const struct dev_pm_ops appldata_pm_ops = {
	.freeze		= appldata_freeze,
	.thaw		= appldata_thaw,
	.restore	= appldata_restore,
+1 −1
Original line number Diff line number Diff line
@@ -4162,7 +4162,7 @@ static int floppy_resume(struct device *dev)
	return 0;
}

static struct dev_pm_ops floppy_pm_ops = {
static const struct dev_pm_ops floppy_pm_ops = {
	.resume = floppy_resume,
	.restore = floppy_resume,
};
+1 −1
Original line number Diff line number Diff line
@@ -931,7 +931,7 @@ static struct hv_ops hvc_iucv_ops = {
};

/* Suspend / resume device operations */
static struct dev_pm_ops hvc_iucv_pm_ops = {
static const struct dev_pm_ops hvc_iucv_pm_ops = {
	.freeze	  = hvc_iucv_pm_freeze,
	.thaw	  = hvc_iucv_pm_restore_thaw,
	.restore  = hvc_iucv_pm_restore_thaw,
Loading