aboutsummaryrefslogtreecommitdiffstats
path: root/net/wanrouter/wanproc.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-02-17 15:09:59 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-17 15:09:59 -0500
commit48c871c1f6a7c7044dd76774fb469e65c7e2e4e8 (patch)
treeda3aa535c98cc0957851354ceb0fbff7482d7a9d /net/wanrouter/wanproc.c
parent1a1689344add3333d28d1b5495d8043a3877d01c (diff)
parent4409d28140d9a6e6e3f4f1fdaf7234c4b965d954 (diff)
Merge branch 'gfar' of master.kernel.org:/pub/scm/linux/kernel/git/galak/powerpc into upstream
Diffstat (limited to 'net/wanrouter/wanproc.c')
-rw-r--r--net/wanrouter/wanproc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/wanrouter/wanproc.c b/net/wanrouter/wanproc.c
index 930ea59463ad..205106521ecb 100644
--- a/net/wanrouter/wanproc.c
+++ b/net/wanrouter/wanproc.c
@@ -37,10 +37,10 @@
37 37
38#define PROT_DECODE(prot) ((prot == WANCONFIG_FR) ? " FR" :\ 38#define PROT_DECODE(prot) ((prot == WANCONFIG_FR) ? " FR" :\
39 (prot == WANCONFIG_X25) ? " X25" : \ 39 (prot == WANCONFIG_X25) ? " X25" : \
40 (prot == WANCONFIG_PPP) ? " PPP" : \ 40 (prot == WANCONFIG_PPP) ? " PPP" : \
41 (prot == WANCONFIG_CHDLC) ? " CHDLC": \ 41 (prot == WANCONFIG_CHDLC) ? " CHDLC": \
42 (prot == WANCONFIG_MPPP) ? " MPPP" : \ 42 (prot == WANCONFIG_MPPP) ? " MPPP" : \
43 " Unknown" ) 43 " Unknown" )
44 44
45/****** Function Prototypes *************************************************/ 45/****** Function Prototypes *************************************************/
46 46
@@ -188,7 +188,7 @@ static int status_open(struct inode *inode, struct file *file)
188 return seq_open(file, &status_op); 188 return seq_open(file, &status_op);
189} 189}
190 190
191static struct file_operations config_fops = { 191static const struct file_operations config_fops = {
192 .owner = THIS_MODULE, 192 .owner = THIS_MODULE,
193 .open = config_open, 193 .open = config_open,
194 .read = seq_read, 194 .read = seq_read,
@@ -196,7 +196,7 @@ static struct file_operations config_fops = {
196 .release = seq_release, 196 .release = seq_release,
197}; 197};
198 198
199static struct file_operations status_fops = { 199static const struct file_operations status_fops = {
200 .owner = THIS_MODULE, 200 .owner = THIS_MODULE,
201 .open = status_open, 201 .open = status_open,
202 .read = seq_read, 202 .read = seq_read,
@@ -271,7 +271,7 @@ static int wandev_open(struct inode *inode, struct file *file)
271 return single_open(file, wandev_show, PDE(inode)->data); 271 return single_open(file, wandev_show, PDE(inode)->data);
272} 272}
273 273
274static struct file_operations wandev_fops = { 274static const struct file_operations wandev_fops = {
275 .owner = THIS_MODULE, 275 .owner = THIS_MODULE,
276 .open = wandev_open, 276 .open = wandev_open,
277 .read = seq_read, 277 .read = seq_read,