[PATCH 2/2] ASoC: AMS_DELTA: Use updated line discipline name

From: Janusz Krzysztofik
Date: Thu Aug 06 2009 - 07:09:28 EST


This patch updates the tty line discipline name used in the Amstrad Delta
machine driver.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@xxxxxxxxxxxx>

---
--- linux-2.6.31-rc5/sound/soc/omap/ams-delta.c.orig 2009-08-05 21:44:35.000000000 +0200
+++ linux-2.6.31-rc5/sound/soc/omap/ams-delta.c 2009-08-05 23:30:53.000000000 +0200
@@ -519,7 +519,7 @@ static int ams_delta_cx20442_init(struct
}

/* Register optional line discipline for over the modem control */
- ret = tty_register_ldisc(N_AMSDELTA, &cx81801_ops);
+ ret = tty_register_ldisc(N_V253, &cx81801_ops);
if (ret) {
dev_warn(card->dev,
"Failed to register line discipline, "
@@ -644,9 +644,9 @@ static void __exit ams_delta_module_exit
}
}

- if (tty_unregister_ldisc(N_AMSDELTA) != 0)
+ if (tty_unregister_ldisc(N_V253) != 0)
dev_warn(&ams_delta_audio_platform_device->dev,
- "failed to unregister AMSDELTA line discipline\n");
+ "failed to unregister V253 line discipline\n");

snd_soc_jack_free_gpios(&ams_delta_hook_switch,
ARRAY_SIZE(ams_delta_hook_switch_gpios),
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/