linux-stable/include
Josh Boyer 834d97d452 [POWERPC] Add of_device_is_available function
IEEE 1275 defined a standard "status" property to indicate the operational
status of a device.  The property has four possible values: okay, disabled,
fail, fail-xxx.  The absence of this property means the operational status
of the device is unknown or okay.

This adds a function called of_device_is_available that checks the state
of the status property of a device.  If the property is absent or set to
either "okay" or "ok", it returns 1.  Otherwise it returns 0.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-04-07 13:49:23 +10:00
..
acpi
asm-alpha
asm-arm [ARM] 4872/1: Replaces buggy macro in S3C2410 irq include 2008-03-20 15:59:32 +00:00
asm-avr32
asm-blackfin
asm-cris
asm-frv
asm-generic
asm-h8300 h8300: fix recent uaccess breakage 2008-03-13 13:11:43 -07:00
asm-ia64
asm-m32r
asm-m68k
asm-m68knommu
asm-mips [MIPS] Clocksource: Only install r4k counter as clocksource if present. 2008-03-12 14:14:42 +00:00
asm-mn10300
asm-parisc [PARISC] futex: special case cmpxchg NULL in kernel space 2008-03-15 19:12:17 -07:00
asm-powerpc [POWERPC] Fix kernel panic in arch_arm_kprobe 2008-04-07 13:49:19 +10:00
asm-ppc [PPC] 8xx: swap bug-fix 2008-03-07 16:56:54 -06:00
asm-s390
asm-sh sh: Fix more user header breakage from sh64 integration. 2008-03-14 17:21:09 +09:00
asm-sparc
asm-sparc64 Merge branch 'linux-2.6' 2008-03-26 08:44:18 +11:00
asm-um
asm-v850
asm-x86 x86-32: Pass the full resource data to ioremap() 2008-03-24 11:22:39 -07:00
asm-xtensa
crypto [CRYPTO] skcipher: Fix section mismatches 2008-03-08 20:29:43 +08:00
keys
linux [POWERPC] Add of_device_is_available function 2008-04-07 13:49:23 +10:00
math-emu
media
mtd
net [SCTP]: Fix build warnings with IPV6 disabled. 2008-03-21 15:40:47 -07:00
pcmcia
rdma
rxrpc
scsi
sound
video
xen
Kbuild