Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337566
b: refs/heads/master
c: 871e1d0
h: refs/heads/master
v: v3
  • Loading branch information
Ian Abbott authored and Greg Kroah-Hartman committed Nov 1, 2012
1 parent ba41f10 commit 2e902c3
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: 3dd5ca831317a752095040d403e80cf7a6a783b5
refs/heads/master: 871e1d0545436f7c21b1b103601e1fe3920a6e4c
6 changes: 4 additions & 2 deletions trunk/drivers/staging/comedi/drivers/gsc_hpdi.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ support could be added to this driver.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/interrupt.h>
#include "../comedidev.h"
#include <linux/delay.h>
Expand All @@ -64,9 +66,9 @@ static int dio_config_block_size(struct comedi_device *dev, unsigned int *data);
/* #define HPDI_DEBUG enable debugging code */

#ifdef HPDI_DEBUG
#define DEBUG_PRINT(format, args...) printk(format , ## args)
#define DEBUG_PRINT(format, args...) pr_debug(format , ## args)
#else
#define DEBUG_PRINT(format, args...)
#define DEBUG_PRINT(format, args...) no_printk(pr_fmt(format), ## args)
#endif

#define TIMER_BASE 50 /* 20MHz master clock */
Expand Down

0 comments on commit 2e902c3

Please sign in to comment.