packages/utils/sane-backends/patches/020-non-i386-qcam.patch
swalker b55a485d06 [packages] sane-backends: update to 1.0.22 (#9706), thanks simnet
* add working Debian mirror
 * build without SNMP support
 * refresh patches


git-svn-id: svn://svn.openwrt.org/openwrt/packages@27634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-17 09:45:40 +00:00

21 lines
377 B
Diff

--- a/backend/qcam.c
+++ b/backend/qcam.c
@@ -105,6 +105,17 @@
#include "qcam.h"
+#if !defined( __i386__) && !defined(__arm__)
+static inline unsigned char inb(unsigned int port)
+{
+ return 0;
+}
+
+static inline void outb(unsigned char value, unsigned int port)
+{
+}
+#endif
+
/* status bits */
#define NeedRamTable (1 << 1)
#define BlackBalanceInProgress (1 << 6)