apm_event{,info}_t are userspace types
authorAdam Jackson <ajax@redhat.com>
Tue, 18 Dec 2007 00:20:04 +0000 (16:20 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 18 Dec 2007 03:28:16 +0000 (19:28 -0800)
commit8d936626dd00bd47cf574add458fea8a23b79611
tree4d2f13a1629b51edc6c75a1ee537b5467491cb5e
parenta33234735b2bcfb23cf1facb1f0d8656b8edab8f
apm_event{,info}_t are userspace types

These types define the size of data read from /dev/apm_bios.  They should
not be hidden behind #ifdef __KERNEL__.

This is killing my xserver compile, apm_event_t is used in the xserver
source.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/apm_bios.h