linux-sg2042/drivers/uio
Brandon Philips 4f808bcdf8 UIO: fix Greg's stupid changes
This fixes two bugs with UIO that cropped up recently in -rc1

1) WARNING: at fs/sysfs/file.c:334 sysfs_open_file when trying to open
   a map addr/size file - complaining about missing sysfs_ops for ktype

2) Permission denied when reading uio/uio0/maps/map0/{addr,size} when
   files are mode S_IRUGO

Also fix a typo: attr_attribute -> addr_attribute

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-02-21 15:27:07 -08:00
..
Kconfig UIO: Hilscher CIF card driver 2007-07-18 15:57:16 -07:00
Makefile UIO: Hilscher CIF card driver 2007-07-18 15:57:16 -07:00
uio.c UIO: fix Greg's stupid changes 2008-02-21 15:27:07 -08:00
uio_cif.c UIO: Hilscher CIF card driver 2007-07-18 15:57:16 -07:00