projects
/
openwrt
/
svn-archive
/
archive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] sane-backends: update to 1.0.22 (#9706), thanks simnet
[openwrt/svn-archive/archive.git]
/
utils
/
sane-backends
/
patches
/
020-non-i386-qcam.patch
1
--- a/backend/qcam.c
2
+++ b/backend/qcam.c
3
@@ -105,6 +105,17 @@
4
5
#include "qcam.h"
6
7
+#if !defined( __i386__) && !defined(__arm__)
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)