summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intel-iommu.c
diff options
context:
space:
mode:
authorArtem Bityutskiy2012-07-10 15:35:50 +0200
committerRob Herring2012-07-10 17:32:06 +0200
commite95d8aafa5d911bf523bc47fe89f3336eb8a1b51 (patch)
treef9c0f35017fb68d36dbb9357682d24e000a49950 /drivers/iommu/intel-iommu.c
parentdevicetree: add helper inline for retrieving a node's full name (diff)
downloadkernel-qcow2-linux-e95d8aafa5d911bf523bc47fe89f3336eb8a1b51.tar.gz
kernel-qcow2-linux-e95d8aafa5d911bf523bc47fe89f3336eb8a1b51.tar.xz
kernel-qcow2-linux-e95d8aafa5d911bf523bc47fe89f3336eb8a1b51.zip
of: mtd: nuke useless const qualifier
This patch does the following: -const int of_get_nand_ecc_mode(struct device_node *np) +int of_get_nand_ecc_mode(struct device_node *np) because: 1. it is probably just a typo? 2. it causes warnings like this when people assing the returned value to an 'int' variable: include/linux/of_mtd.h:14:18: warning: type qualifiers ignored on functi= on return type [-Wignored-qualifiers] Remove also the unnecessary "extern" qualifier to be consistent with other declarations in this file. Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'drivers/iommu/intel-iommu.c')
0 files changed, 0 insertions, 0 deletions