proc.c (dca3a783400a18e2bf4503b1d4a85c4d0ca1a7e4) proc.c (d9dda78bad879595d8c4220a067fc029d6484a16)
1/*
2 * proc.c - procfs support for Protocol family CAN core module
3 *
4 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 364 unchanged lines hidden (view full) ---

373 rcu_read_unlock();
374
375 seq_putc(m, '\n');
376 return 0;
377}
378
379static int can_rcvlist_proc_open(struct inode *inode, struct file *file)
380{
1/*
2 * proc.c - procfs support for Protocol family CAN core module
3 *
4 * Copyright (c) 2002-2007 Volkswagen Group Electronic Research
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 364 unchanged lines hidden (view full) ---

373 rcu_read_unlock();
374
375 seq_putc(m, '\n');
376 return 0;
377}
378
379static int can_rcvlist_proc_open(struct inode *inode, struct file *file)
380{
381 return single_open(file, can_rcvlist_proc_show, PDE(inode)->data);
381 return single_open(file, can_rcvlist_proc_show, PDE_DATA(inode));
382}
383
384static const struct file_operations can_rcvlist_proc_fops = {
385 .owner = THIS_MODULE,
386 .open = can_rcvlist_proc_open,
387 .read = seq_read,
388 .llseek = seq_lseek,
389 .release = single_release,

--- 145 unchanged lines hidden ---
382}
383
384static const struct file_operations can_rcvlist_proc_fops = {
385 .owner = THIS_MODULE,
386 .open = can_rcvlist_proc_open,
387 .read = seq_read,
388 .llseek = seq_lseek,
389 .release = single_release,

--- 145 unchanged lines hidden ---