summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2014-11-30 16:31:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-30 10:13:59 -0800
commitf30d0a815bb9b8ac1a3ab4d0c333d2379220d91d (patch)
treeaa3a856b9030ca921187307c5a3ef6de7b773503 /arch/arm/mach-imx
parentdaa3d67fa3b5a997761ba594c6bca41b3e78963f (diff)
downloadblackbird-op-linux-f30d0a815bb9b8ac1a3ab4d0c333d2379220d91d.tar.gz
blackbird-op-linux-f30d0a815bb9b8ac1a3ab4d0c333d2379220d91d.zip
fs: debugfs: add forward declaration for struct device type
The function debugfs_create_devm_seqfile() has a parameter of type struct device pointer. This type needs to be forward declared to avoid compilation issues on certain architectures and/or kernel configurations. The function was introduced with: commit 98210b7f73f1db182bd9a558a031093cd166e907 Author: Arend van Spriel <arend@broadcom.com> Date: Sun Nov 9 11:31:58 2014 +0100 debugfs: add helper function to create device related seq_file The reported build failure for sparc64 architecture was: make.cross ARCH=sparc64 All warnings: In file included from fs/debugfs/file.c:21:0: include/linux/debugfs.h:105:10: warning: 'struct device' declared inside parameter list void *data)); ^ Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-imx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud