|
@@ -150,7 +150,7 @@ static int user_atoi(char __user *ubuf, size_t len)
|
|
|
/*
|
|
|
* Send us to sleep.
|
|
|
*/
|
|
|
-static int sysctl_pm_do_suspend(ctl_table *ctl, int write,
|
|
|
+static int sysctl_pm_do_suspend(struct ctl_table *ctl, int write,
|
|
|
void __user *buffer, size_t *lenp, loff_t *fpos)
|
|
|
{
|
|
|
int mode;
|
|
@@ -197,7 +197,7 @@ static int try_set_cmode(int new_cmode)
|
|
|
}
|
|
|
|
|
|
|
|
|
-static int cmode_procctl(ctl_table *ctl, int write,
|
|
|
+static int cmode_procctl(struct ctl_table *ctl, int write,
|
|
|
void __user *buffer, size_t *lenp, loff_t *fpos)
|
|
|
{
|
|
|
int new_cmode;
|
|
@@ -269,7 +269,7 @@ static int try_set_cm(int new_cm)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static int p0_procctl(ctl_table *ctl, int write,
|
|
|
+static int p0_procctl(struct ctl_table *ctl, int write,
|
|
|
void __user *buffer, size_t *lenp, loff_t *fpos)
|
|
|
{
|
|
|
int new_p0;
|
|
@@ -282,7 +282,7 @@ static int p0_procctl(ctl_table *ctl, int write,
|
|
|
return try_set_p0(new_p0)?:*lenp;
|
|
|
}
|
|
|
|
|
|
-static int cm_procctl(ctl_table *ctl, int write,
|
|
|
+static int cm_procctl(struct ctl_table *ctl, int write,
|
|
|
void __user *buffer, size_t *lenp, loff_t *fpos)
|
|
|
{
|
|
|
int new_cm;
|