Commit 5707221a authored by David S. Miller's avatar David S. Miller

[I2C]: Use correct port address types in i2c-velleman.c

parent fe86999e
...@@ -44,13 +44,13 @@ ...@@ -44,13 +44,13 @@
/* --- Convenience defines for the parallel port: */ /* --- Convenience defines for the parallel port: */
#define BASE (unsigned int)(data) #define BASE (unsigned long)(data)
#define DATA BASE /* Centronics data port */ #define DATA BASE /* Centronics data port */
#define STAT (BASE+1) /* Centronics status port */ #define STAT (BASE+1) /* Centronics status port */
#define CTRL (BASE+2) /* Centronics control port */ #define CTRL (BASE+2) /* Centronics control port */
#define DEFAULT_BASE 0x378 #define DEFAULT_BASE 0x378
static int base=0; static long base=0;
/* ----- local functions --------------------------------------------------- */ /* ----- local functions --------------------------------------------------- */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment