Commit 2f9060b1 authored by Bjorn Helgaas's avatar Bjorn Helgaas Committed by Thomas Bogendoerfer
Browse files

MIPS: Fix typos



Fix typos, most reported by "codespell arch/mips".  Only touches comments,
no code changes.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Cc: linux-mips@vger.kernel.org
Reviewed-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent 8e180390
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -147,21 +147,21 @@ static const struct gpio_keys_button
bcm47xx_buttons_buffalo_whr_g125[] __initconst = {
	BCM47XX_GPIO_KEY(0, KEY_WPS_BUTTON),
	BCM47XX_GPIO_KEY(4, KEY_RESTART),
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode swtich */
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
};

static const struct gpio_keys_button
bcm47xx_buttons_buffalo_whr_g54s[] __initconst = {
	BCM47XX_GPIO_KEY(0, KEY_WPS_BUTTON),
	BCM47XX_GPIO_KEY_H(4, KEY_RESTART),
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode swtich */
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
};

static const struct gpio_keys_button
bcm47xx_buttons_buffalo_whr_hp_g54[] __initconst = {
	BCM47XX_GPIO_KEY(0, KEY_WPS_BUTTON),
	BCM47XX_GPIO_KEY(4, KEY_RESTART),
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode swtich */
	BCM47XX_GPIO_KEY(5, BTN_0), /* Router / AP mode switch */
};

static const struct gpio_keys_button
+2 −2
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ static void enetsw_set(struct clk *clk, int enable)
	}

	if (enable) {
		/* reset switch core afer clock change */
		/* reset switch core after clock change */
		bcm63xx_core_set_reset(BCM63XX_RESET_ENETSW, 1);
		msleep(10);
		bcm63xx_core_set_reset(BCM63XX_RESET_ENETSW, 0);
@@ -304,7 +304,7 @@ static void xtm_set(struct clk *clk, int enable)
	bcm_hwclock_set(CKCTL_6368_SAR_EN, enable);

	if (enable) {
		/* reset sar core afer clock change */
		/* reset sar core after clock change */
		bcm63xx_core_set_reset(BCM63XX_RESET_SAR, 1);
		mdelay(1);
		bcm63xx_core_set_reset(BCM63XX_RESET_SAR, 0);
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
 * MIPS-specific debug support for pre-boot environment
 *
 * NOTE: putc() is board specific, if your board have a 16550 compatible uart,
 * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. othewise, you
 * please select SYS_SUPPORTS_ZBOOT_UART16550 for your machine. otherwise, you
 * need to implement your own putc().
 */
#include <linux/compiler.h>
+1 −1
Original line number Diff line number Diff line
@@ -443,7 +443,7 @@ int main(int argc, char *argv[])
	efh.f_symptr = 0;
	efh.f_nsyms = 0;
	efh.f_opthdr = sizeof eah;
	efh.f_flags = 0x100f;	/* Stripped, not sharable. */
	efh.f_flags = 0x100f;	/* Stripped, not shareable. */

	memset(esecs, 0, sizeof esecs);
	strcpy(esecs[0].s_name, ".text");
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ static struct clocksource clocksource_mips = {

unsigned long long notrace sched_clock(void)
{
	/* 64-bit arithmatic can overflow, so use 128-bit.  */
	/* 64-bit arithmetic can overflow, so use 128-bit.  */
	u64 t1, t2, t3;
	unsigned long long rv;
	u64 mult = clocksource_mips.mult;
Loading