linux/arch/mips/include/asm
Michael Buesch e0f7ad5f4f bcm47xx: fix GPIO API return codes
The GPIO API is supposed to return 0 or a negative error code,
but the SSB GPIO functions return the bitmask of the GPIO register.
Fix this by ignoring the bitmask and always returning 0. The SSB GPIO functions can't fail.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-01 08:59:17 -07:00
..
dec
emma MIPS: EMMA2RH: Remove emma2rh_sync on read operation 2008-10-27 16:18:30 +00:00
fw
ip32
lasat
mach-au1x00 MIPS: Alchemy: provide cpu feature overrides. 2009-03-30 14:49:46 +02:00
mach-bcm47xx bcm47xx: fix GPIO API return codes 2009-04-01 08:59:17 -07:00
mach-cavium-octeon MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
mach-cobalt
mach-db1x00
mach-dec
mach-emma2rh
mach-excite
mach-generic MIPS: Adjust the dma-common.c platform hooks. 2009-01-11 09:57:24 +00:00
mach-ip22 MIPS: IP22/28: Switch over to RTC class driver 2008-10-15 12:46:51 +01:00
mach-ip27 cpumask: remove node_to_first_cpu 2009-03-30 22:05:12 +10:30
mach-ip28 MIPS: IP22/28: Switch over to RTC class driver 2008-10-15 12:46:51 +01:00
mach-ip32 MIPS: Adjust the dma-common.c platform hooks. 2009-01-11 09:57:24 +00:00
mach-jazz MIPS: Adjust the dma-common.c platform hooks. 2009-01-11 09:57:24 +00:00
mach-lasat
mach-lemote MIPS: Adjust the dma-common.c platform hooks. 2009-01-11 09:57:24 +00:00
mach-malta
mach-mipssim
mach-pb1x00
mach-pnx833x MIPS: Add support for NXP PNX833x (STB222/5) into linux kernel 2008-10-27 16:18:29 +00:00
mach-pnx8550
mach-rc32434 MIPS: RB532: Export rb532_gpio_set_func() 2009-01-30 21:33:01 +00:00
mach-rm
mach-sibyte
mach-tx39xx
mach-tx49xx MIPS: RBTX4939: Add smc91x support 2008-10-27 16:18:27 +00:00
mach-vr41xx
mach-wrppmc
mach-yosemite
mips-boards MIPS: Malta: make a needlessly global integer variable static 2009-03-30 14:49:45 +02:00
octeon MIPS: Add Cavium OCTEON processor support files to arch/mips/cavium-octeon. 2009-01-11 09:57:21 +00:00
pci
pmc-sierra/msp71xx
sgi
sibyte
sn
txx9 MIPS: TXx9: Add support for TX4939 internal RTC 2009-01-30 21:32:58 +00:00
vr41xx
xtalk
abi.h
addrspace.h
asm.h
asmmacro-32.h
asmmacro-64.h
asmmacro.h MIPS: Use EI/DI for MIPS R2. 2008-12-12 18:12:23 +00:00
atomic.h MIPS: atomic_*(): Change type of intermediate variables. 2009-01-30 21:32:57 +00:00
auxvec.h
barrier.h
bcache.h
bitops.h MIPS: Clean up MIPSxx-optimized bitop functions 2008-10-30 14:44:33 +00:00
bootinfo.h
branch.h
break.h MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
bug.h MIPS: Make BUG() __noreturn. 2008-11-24 16:35:07 +00:00
bugs.h
byteorder.h byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
cache.h
cachectl.h
cacheflush.h
cacheops.h
cevt-r4k.h MIPS: Have a heart for a lonely, lost header file ... 2008-10-15 12:46:49 +01:00
checksum.h
cmp.h
cmpxchg.h
compat-signal.h
compat.h MIPS: compat: Implement is_compat_task. 2009-03-08 09:59:39 -07:00
compiler.h
cpu-features.h MIPS: Hook Cavium OCTEON cache init into cache.c 2009-01-11 09:57:22 +00:00
cpu-info.h
cpu.h MIPS: Alchemy: unify CPU model constants. 2009-03-30 14:49:45 +02:00
cputime.h
current.h
debug.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h
ds1287.h
dsp.h
edac.h
elf.h MIPS: Fix preprocessor warnings flaged by GCC 4.4 2008-12-22 08:54:47 +00:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fixmap.h
floppy.h
fpregdef.h
fpu.h
fpu_emulator.h MIPS: Switch FPU emulator trap to BREAK instruction. 2008-10-30 14:44:34 +00:00
futex.h
gcmpregs.h
gic.h
gpio.h
gt64120.h
hardirq.h
hazards.h MIPS: Alchemy: MIPS hazard workarounds are not required. 2009-03-30 14:49:46 +02:00
highmem.h
hw_irq.h
i8253.h
i8259.h
ide.h
inst.h
io.h MIPS: Modify core io.h macros to account for the Octeon Errata Core-301. 2009-01-11 09:57:22 +00:00
ioctl.h
ioctls.h
ipcbuf.h
irq.h irq: update all arches for new irq_desc 2009-01-12 15:27:13 -08:00
irq_cpu.h
irq_gt641xx.h
irq_regs.h
irqflags.h
isadep.h
jazz.h
jazzdma.h
Kbuild byteorder: make swab.h include asm/swab.h like a regular header 2009-01-14 19:56:50 -08:00
kdebug.h
kexec.h
kgdb.h
kmap_types.h
kspd.h
linkage.h
local.h
m48t37.h
mc146818-time.h mips: use bcd2bin/bin2bcd 2008-10-20 08:52:41 -07:00
mc146818rtc.h
mips_mt.h
mipsmtregs.h
mipsprom.h
mipsregs.h MIPS: Change {set,clear,change}_c0_<foo> to return old value. 2009-03-23 23:38:05 +01:00
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h MIPS: Add Cavium OCTEON processor constants and CPU probe. 2009-01-11 09:57:22 +00:00
msc01_ic.h
msgbuf.h
mutex.h
nile4.h
paccess.h
page.h
param.h
parport.h
pci.h MIPS: Better than nothing implementation of PCI mmap to fix X. 2008-12-09 21:55:43 +00:00
percpu.h
pgalloc.h
pgtable-32.h
pgtable-64.h
pgtable-bits.h
pgtable.h
pmon.h
poll.h
posix_types.h
prefetch.h MIPS: NEC VR5500 processor support fixup 2009-03-11 21:11:07 +01:00
processor.h MIPS: Add Cavium OCTEON cop2/cvmseg state entries to processor.h. 2009-01-11 09:57:22 +00:00
ptrace.h MIPS: Fix a typo in watchpoint register structure. 2009-01-30 21:32:58 +00:00
r4k-timer.h
r4kcache.h
reboot.h
reg.h
regdef.h
resource.h
rm9k-ocd.h
rtlx.h
scatterlist.h
seccomp.h MIPS: Fix TIF_32BIT undefined problem when seccomp is disabled 2009-03-13 23:07:59 +01:00
sections.h
segment.h
sembuf.h
serial.h
setup.h
sgialib.h
sgiarcs.h
sgidefs.h
shmbuf.h
shmparam.h
sigcontext.h headers_check fix: mips, sigcontext.h 2009-02-01 11:01:26 +05:30
siginfo.h
signal.h
sim.h
smp-ops.h MIPS: Forward declare struct task_struct to avoid potencial warning. 2009-03-30 14:49:39 +02:00
smp.h MIPS: Add SMP_ICACHE_FLUSH for the Cavium CPU family. 2009-01-11 09:57:24 +00:00
smtc.h
smtc_ipi.h
smtc_proc.h
smvp.h
sni.h
socket.h net: new user space API for time stamping of incoming and outgoing packets 2009-02-15 22:43:33 -08:00
sockios.h
sparsemem.h
spinlock.h MIPS: __raw_spin_lock() may spin forever on ticket wrap. 2009-03-30 14:49:39 +02:00
spinlock_types.h
stackframe.h MIPS: Cavium OCTEON multiplier state preservation. 2009-01-11 09:57:24 +00:00
stacktrace.h
stat.h
statfs.h
string.h
suspend.h
swab.h headers_check fix: mips, swab.h 2009-02-01 11:01:27 +05:30
sysmips.h
system.h
termbits.h
termios.h MIPS: Add return value checks to user_termio_to_kernel_termios() 2009-01-30 21:32:57 +00:00
thread_info.h MIPS: Fix TIF_32BIT undefined problem when seccomp is disabled 2009-03-13 23:07:59 +01:00
time.h MIPS: make cp0 counter clocksource/event usable as fallback. 2009-01-11 09:57:26 +00:00
timex.h
titan_dep.h
tlb.h
tlbdebug.h
tlbflush.h
topology.h
traps.h
txx9irq.h
txx9pio.h
txx9tmr.h
types.h MIPS: Stop using <asm-generic/int-l64.h>. 2009-03-30 14:49:41 +02:00
uaccess.h
ucontext.h
unaligned.h
unistd.h
user.h
vga.h
vpe.h
war.h
watch.h
wbflush.h
xor.h