1e1b631bde214abcf92d2582e955f914ad4bcf9e
[openwrt/svn-archive/archive.git] / utils / sane-backends / patches / 020-non-i386-qcam.patch
1 --- ./backend/qcam.c.orig 2009-12-01 06:11:04.000000000 +0000
2 +++ ./backend/qcam.c 2009-12-01 15:12:40.000000000 +0000
3 @@ -105,6 +105,17 @@
4
5 #include "qcam.h"
6
7 +#ifndef __i386__
8 +static inline unsigned char inb(unsigned int port)
9 +{
10 + return 0;
11 +}
12 +
13 +static inline void outb(unsigned char value, unsigned int port)
14 +{
15 +}
16 +#endif
17 +
18 /* status bits */
19 #define NeedRamTable (1 << 1)
20 #define BlackBalanceInProgress (1 << 6)