summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-floppy.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-03-04 15:29:10 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-03-20 06:31:42 -0400
commit948dff7cfa1d7653e7828e7b905863bd24ca5c02 (patch)
tree18b6cde1d7deffdcb603bc0258ea1f034cea9ec7 /drivers/ide/ide-floppy.h
parent6d5f26f2e045f2377b524516194657c00efbbce8 (diff)
media: staging/intel-ipu3: mark PM function as __maybe_unused
The imgu_rpm_dummy_cb() looks like an API misuse that is explained in the comment above it. Aside from that, it also causes a warning when power management support is disabled: drivers/staging/media/ipu3/ipu3.c:794:12: error: 'imgu_rpm_dummy_cb' defined but not used [-Werror=unused-function] The warning is at least easy to fix by marking the function as __maybe_unused. Fixes: 7fc7af649ca7 ("media: staging/intel-ipu3: Add imgu top level pci device driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/ide/ide-floppy.h')
0 files changed, 0 insertions, 0 deletions