Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271731
b: refs/heads/master
c: d8a10ac
h: refs/heads/master
i:
  271729: 21a84e6
  271727: 78d5493
v: v3
  • Loading branch information
Joe Perches authored and Mauro Carvalho Chehab committed Sep 3, 2011
1 parent 91318a4 commit e4d1f45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7de3461c93a6d65355113cca333723eb8a1a0225
refs/heads/master: d8a10ac948545d8a4261728719af39b5dffaf7da
6 changes: 4 additions & 2 deletions trunk/drivers/media/rc/winbond-cir.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/module.h>
#include <linux/pnp.h>
#include <linux/interrupt.h>
Expand Down Expand Up @@ -1155,12 +1157,12 @@ wbcir_init(void)
case IR_PROTOCOL_RC6:
break;
default:
printk(KERN_ERR DRVNAME ": Invalid power-on protocol\n");
pr_err("Invalid power-on protocol\n");
}

ret = pnp_register_driver(&wbcir_driver);
if (ret)
printk(KERN_ERR DRVNAME ": Unable to register driver\n");
pr_err("Unable to register driver\n");

return ret;
}
Expand Down

0 comments on commit e4d1f45

Please sign in to comment.