diff options
| author | Randy Dunlap <[email protected]> | 2006-04-05 03:11:56 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2006-04-10 05:25:25 +0000 |
| commit | d938ab44c0c5418bb74a97b422a070e2cdccce22 (patch) | |
| tree | 4404cad3bc941be9f25e51a478ba61a94c2c5ed4 /drivers/net/netconsole.c | |
| parent | [INET]: Move no-tunnel ICMP error to tunnel4/tunnel6 (diff) | |
| download | kernel-d938ab44c0c5418bb74a97b422a070e2cdccce22.tar.gz kernel-d938ab44c0c5418bb74a97b422a070e2cdccce22.zip | |
[NET] netconsole: set .name in struct console
Set .name in netconsole's struct console to identify the
struct's owner.
Signed-off-by: Randy Dunlap <[email protected]>
Acked-by: Matt Mackall <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/netconsole.c')
| -rw-r--r-- | drivers/net/netconsole.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index 75b35ad760de..66e74f740261 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -87,6 +87,7 @@ static void write_msg(struct console *con, const char *msg, unsigned int len) } static struct console netconsole = { + .name = "netcon", .flags = CON_ENABLED | CON_PRINTBUFFER, .write = write_msg }; |
