summaryrefslogtreecommitdiff
path: root/include/linux/dio.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 16:16:41 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 22:56:41 +0300
commit2e4c77bea3d8b17d94f8ee382411f359b708560f (patch)
treed6b4bb05094e709b164cfcdd02fed4bea9f90cc8 /include/linux/dio.h
parent639274d8106e25c2f91bf92270f46aaa3d104040 (diff)
downloadlinux-2e4c77bea3d8b17d94f8ee382411f359b708560f.tar.xz
m68k: dio - Kill warn_unused_result warnings
warning: ignoring return value of 'device_register', declared with attribute warn_unused_result warning: ignoring return value of 'device_create_file', declared with attribute warn_unused_result Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'include/linux/dio.h')
-rw-r--r--include/linux/dio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dio.h b/include/linux/dio.h
index 1e65ebc2a3db..b2dd31ca1710 100644
--- a/include/linux/dio.h
+++ b/include/linux/dio.h
@@ -241,7 +241,7 @@ struct dio_driver {
extern int dio_find(int deviceid);
extern unsigned long dio_scodetophysaddr(int scode);
-extern void dio_create_sysfs_dev_files(struct dio_dev *);
+extern int dio_create_sysfs_dev_files(struct dio_dev *);
/* New-style probing */
extern int dio_register_driver(struct dio_driver *);