aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc
diff options
context:
space:
mode:
authorMasanari Iida <standby24x7@gmail.com>2012-11-30 00:10:25 -0500
committerJiri Kosina <jkosina@suse.cz>2012-12-03 05:05:04 -0500
commit9c7682075e507c95c523477cfe6ce539406d9f4a (patch)
tree442f75f99f8581b2d7ae2cfc55ab14ad43d67750 /drivers/remoteproc
parente41e85cc17fc903a1f1eaae6b69608942952e5d2 (diff)
treewide: Fix typos in various drivers
Fix typos in printk within various drivers. Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r--drivers/remoteproc/remoteproc_elf_loader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/remoteproc/remoteproc_elf_loader.c b/drivers/remoteproc/remoteproc_elf_loader.c
index e1f89d649733..0d36f94ab51d 100644
--- a/drivers/remoteproc/remoteproc_elf_loader.c
+++ b/drivers/remoteproc/remoteproc_elf_loader.c
@@ -66,13 +66,13 @@ rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw)
66 return -EINVAL; 66 return -EINVAL;
67 } 67 }
68 68
69 /* We assume the firmware has the same endianess as the host */ 69 /* We assume the firmware has the same endianness as the host */
70# ifdef __LITTLE_ENDIAN 70# ifdef __LITTLE_ENDIAN
71 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { 71 if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) {
72# else /* BIG ENDIAN */ 72# else /* BIG ENDIAN */
73 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { 73 if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) {
74# endif 74# endif
75 dev_err(dev, "Unsupported firmware endianess\n"); 75 dev_err(dev, "Unsupported firmware endianness\n");
76 return -EINVAL; 76 return -EINVAL;
77 } 77 }
78 78