summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/src/blkdev-ops.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-04 10:38:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-07 07:17:19 +0200
commit0b038bd48b77a650fdc1a74add55523b524b8dac (patch)
treea8cb79964c10c7e76f7cfb63f77cb18a48e46c32 /cpukit/libblock/src/blkdev-ops.c
parentfileio: Avoid deprecated rtems_disk_obtain() (diff)
downloadrtems-0b038bd48b77a650fdc1a74add55523b524b8dac.tar.bz2
libblock: Add RTEMS_DEPRECATED
Close #3358.
Diffstat (limited to 'cpukit/libblock/src/blkdev-ops.c')
-rw-r--r--cpukit/libblock/src/blkdev-ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/libblock/src/blkdev-ops.c b/cpukit/libblock/src/blkdev-ops.c
index bf3411daf2..a25857ed4f 100644
--- a/cpukit/libblock/src/blkdev-ops.c
+++ b/cpukit/libblock/src/blkdev-ops.c
@@ -22,6 +22,8 @@
#include <rtems/blkdev.h>
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
const rtems_driver_address_table rtems_blkdev_generic_ops = {
.initialization_entry = NULL,
.open_entry = rtems_blkdev_generic_open,