mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
Merge branch 'xtensa-for-next' of https://github.com/jcmvbkbc/linux-xtensa.git
This commit is contained in:
@@ -33,7 +33,7 @@ extern void platform_setup (char **);
|
||||
extern void platform_idle (void);
|
||||
|
||||
/*
|
||||
* platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE)
|
||||
* platform_calibrate_ccount calibrates cpu clock freq (CONFIG_XTENSA_CALIBRATE_CCOUNT)
|
||||
*/
|
||||
extern void platform_calibrate_ccount (void);
|
||||
|
||||
|
||||
@@ -166,8 +166,9 @@ late_initcall(rs_init);
|
||||
|
||||
static void iss_console_write(struct console *co, const char *s, unsigned count)
|
||||
{
|
||||
if (s && *s != 0)
|
||||
simc_write(1, s, min(count, strlen(s)));
|
||||
count = s ? strnlen(s, count) : 0;
|
||||
if (count)
|
||||
simc_write(1, s, count);
|
||||
}
|
||||
|
||||
static struct tty_driver* iss_console_device(struct console *c, int *index)
|
||||
|
||||
Reference in New Issue
Block a user