summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/tegra/dc/ext/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/ext/events.c b/drivers/video/tegra/dc/ext/events.c
index fa325b03f2f7..e2d3c46519b5 100644
--- a/drivers/video/tegra/dc/ext/events.c
+++ b/drivers/video/tegra/dc/ext/events.c
@@ -192,6 +192,7 @@ int tegra_dc_ext_queue_hotplug(struct tegra_dc_ext_control *control, int output)
pack.hotplug.handle = output;
#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic warning "-Waddress-of-packed-member"
tegra_dc_ext_queue_event(control, &pack.event);
#pragma GCC diagnostic pop
@@ -226,6 +227,7 @@ int tegra_dc_ext_queue_bandwidth_renegotiate(
pack.bandwidth.handle = output;
#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic warning "-Waddress-of-packed-member"
tegra_dc_ext_queue_event(control, &pack.event);
#pragma GCC diagnostic pop