diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2008-12-30 14:16:41 +0100 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-12 20:56:41 +0100 |
commit | 2e4c77bea3d8b17d94f8ee382411f359b708560f (patch) | |
tree | d6b4bb05094e709b164cfcdd02fed4bea9f90cc8 /include/linux/dio.h | |
parent | 639274d8106e25c2f91bf92270f46aaa3d104040 (diff) | |
download | op-kernel-dev-2e4c77bea3d8b17d94f8ee382411f359b708560f.zip op-kernel-dev-2e4c77bea3d8b17d94f8ee382411f359b708560f.tar.gz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/dio.h b/include/linux/dio.h index 1e65ebc..b2dd31c 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 *); |