mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-16 13:19:56 -04:00
Merge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream
This commit is contained in:
@@ -4430,53 +4430,53 @@ static int proc_BSSList_open( struct inode *inode, struct file *file );
|
||||
static int proc_config_open( struct inode *inode, struct file *file );
|
||||
static int proc_wepkey_open( struct inode *inode, struct file *file );
|
||||
|
||||
static struct file_operations proc_statsdelta_ops = {
|
||||
static const struct file_operations proc_statsdelta_ops = {
|
||||
.read = proc_read,
|
||||
.open = proc_statsdelta_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_stats_ops = {
|
||||
static const struct file_operations proc_stats_ops = {
|
||||
.read = proc_read,
|
||||
.open = proc_stats_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_status_ops = {
|
||||
static const struct file_operations proc_status_ops = {
|
||||
.read = proc_read,
|
||||
.open = proc_status_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_SSID_ops = {
|
||||
static const struct file_operations proc_SSID_ops = {
|
||||
.read = proc_read,
|
||||
.write = proc_write,
|
||||
.open = proc_SSID_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_BSSList_ops = {
|
||||
static const struct file_operations proc_BSSList_ops = {
|
||||
.read = proc_read,
|
||||
.write = proc_write,
|
||||
.open = proc_BSSList_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_APList_ops = {
|
||||
static const struct file_operations proc_APList_ops = {
|
||||
.read = proc_read,
|
||||
.write = proc_write,
|
||||
.open = proc_APList_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_config_ops = {
|
||||
static const struct file_operations proc_config_ops = {
|
||||
.read = proc_read,
|
||||
.write = proc_write,
|
||||
.open = proc_config_open,
|
||||
.release = proc_close
|
||||
};
|
||||
|
||||
static struct file_operations proc_wepkey_ops = {
|
||||
static const struct file_operations proc_wepkey_ops = {
|
||||
.read = proc_read,
|
||||
.write = proc_write,
|
||||
.open = proc_wepkey_open,
|
||||
|
||||
@@ -355,37 +355,37 @@ static ssize_t restart_write_file(struct file *file, const char __user *user_buf
|
||||
#undef fappend
|
||||
|
||||
|
||||
static struct file_operations devinfo_fops = {
|
||||
static const struct file_operations devinfo_fops = {
|
||||
.read = devinfo_read_file,
|
||||
.write = write_file_dummy,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
static struct file_operations spromdump_fops = {
|
||||
static const struct file_operations spromdump_fops = {
|
||||
.read = spromdump_read_file,
|
||||
.write = write_file_dummy,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
static struct file_operations drvinfo_fops = {
|
||||
static const struct file_operations drvinfo_fops = {
|
||||
.read = drvinfo_read_file,
|
||||
.write = write_file_dummy,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
static struct file_operations tsf_fops = {
|
||||
static const struct file_operations tsf_fops = {
|
||||
.read = tsf_read_file,
|
||||
.write = tsf_write_file,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
static struct file_operations txstat_fops = {
|
||||
static const struct file_operations txstat_fops = {
|
||||
.read = txstat_read_file,
|
||||
.write = write_file_dummy,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
static struct file_operations restart_fops = {
|
||||
static const struct file_operations restart_fops = {
|
||||
.write = restart_write_file,
|
||||
.open = open_file_generic,
|
||||
};
|
||||
|
||||
@@ -1160,7 +1160,7 @@ static int strip_seq_open(struct inode *inode, struct file *file)
|
||||
return seq_open(file, &strip_seq_ops);
|
||||
}
|
||||
|
||||
static struct file_operations strip_seq_fops = {
|
||||
static const struct file_operations strip_seq_fops = {
|
||||
.owner = THIS_MODULE,
|
||||
.open = strip_seq_open,
|
||||
.read = seq_read,
|
||||
|
||||
Reference in New Issue
Block a user