move memory_read_from_buffer() from fs.h to string.h
authorAkinobu Mita <[email protected]>
Thu, 24 Jul 2008 04:26:44 +0000 (21:26 -0700)
committerLinus Torvalds <[email protected]>
Thu, 24 Jul 2008 17:47:13 +0000 (10:47 -0700)
commite108526e77aa41c89b3be96f75d97615db2b751c
tree11f3041d170d32ea49894527aa119016d76716b5
parent338b9bb3adac0d2c5a1e180491d9b001d624c402
move memory_read_from_buffer() from fs.h to string.h

James Bottomley warns that inclusion of linux/fs.h in a low level
driver was always a danger signal.  This patch moves
memory_read_from_buffer() from fs.h to string.h and fixes includes in
existing memory_read_from_buffer() users.

Signed-off-by: Akinobu Mita <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Zhang Rui <[email protected]>
Cc: Bob Moore <[email protected]>
Cc: Thomas Renninger <[email protected]>
Cc: Len Brown <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/acpi/system.c
drivers/zorro/zorro-sysfs.c
include/linux/fs.h
include/linux/string.h