aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dio.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2008-12-30 08:16:41 -0500
committerGeert Uytterhoeven <geert@linux-m68k.org>2009-01-12 14:56:41 -0500
commit2e4c77bea3d8b17d94f8ee382411f359b708560f (patch)
treed6b4bb05094e709b164cfcdd02fed4bea9f90cc8 /include/linux/dio.h
parent639274d8106e25c2f91bf92270f46aaa3d104040 (diff)
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 {
241 241
242extern int dio_find(int deviceid); 242extern int dio_find(int deviceid);
243extern unsigned long dio_scodetophysaddr(int scode); 243extern unsigned long dio_scodetophysaddr(int scode);
244extern void dio_create_sysfs_dev_files(struct dio_dev *); 244extern int dio_create_sysfs_dev_files(struct dio_dev *);
245 245
246/* New-style probing */ 246/* New-style probing */
247extern int dio_register_driver(struct dio_driver *); 247extern int dio_register_driver(struct dio_driver *);