2020-01-15 16:10:02

by Arvind Sankar

[permalink] [raw]
Subject: [PATCH RESEND] sparc/console: kill off obsolete declarations

commit 09d3f3f0e02c ("sparc: Kill PROM console driver.") missed removing
the declarations of the deleted prom_con structure and prom_con_init
function from console.h. Kill them off now.

Signed-off-by: Arvind Sankar <[email protected]>
---
include/linux/console.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/linux/console.h b/include/linux/console.h
index d09951d5a94e..f33016b3a401 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -101,7 +101,6 @@ extern const struct consw *conswitchp;
extern const struct consw dummy_con; /* dummy console buffer */
extern const struct consw vga_con; /* VGA text console */
extern const struct consw newport_con; /* SGI Newport console */
-extern const struct consw prom_con; /* SPARC PROM console */

int con_is_bound(const struct consw *csw);
int do_unregister_con_driver(const struct consw *csw);
@@ -201,7 +200,6 @@ extern void suspend_console(void);
extern void resume_console(void);

int mda_console_init(void);
-void prom_con_init(void);

void vcs_make_sysfs(int index);
void vcs_remove_sysfs(int index);
--
2.24.1


2020-01-21 12:29:53

by David Miller

[permalink] [raw]
Subject: Re: [PATCH RESEND] sparc/console: kill off obsolete declarations

From: Arvind Sankar <[email protected]>
Date: Wed, 15 Jan 2020 11:07:50 -0500

> commit 09d3f3f0e02c ("sparc: Kill PROM console driver.") missed removing
> the declarations of the deleted prom_con structure and prom_con_init
> function from console.h. Kill them off now.
>
> Signed-off-by: Arvind Sankar <[email protected]>

Applied, thank you.