diff options
author | Mika Kukkonen <mikukkon@iki.fi> | 2007-05-23 20:42:38 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-05-23 20:42:38 -0400 |
commit | 39c98c421200e7bb16bed7aab2b640b43ca6621b (patch) | |
tree | c8a2aa15ceffb93d4d910f2d3c9eb88de5f97f10 /drivers/ide | |
parent | 2074a106f52b6371885afbd714e929d60d0e3f64 (diff) |
Add two missing chipsets to drivers/ide/ide-proc.c
Compiling with '-Wswitch-enum' I noticed following:
CC drivers/ide/ide-proc.o
drivers/ide/ide-proc.c: In function âproc_ide_read_imodelâ:
drivers/ide/ide-proc.c:54: warning: enumeration value âide_etrax100â not handled in switch
drivers/ide/ide-proc.c:54: warning: enumeration value âide_acornâ not handled in switch
How about the following patch?
Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/ide-proc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ide-proc.c b/drivers/ide/ide-proc.c index d50bd996ff22..ea94c9aa1220 100644 --- a/drivers/ide/ide-proc.c +++ b/drivers/ide/ide-proc.c | |||
@@ -67,6 +67,8 @@ static int proc_ide_read_imodel | |||
67 | case ide_4drives: name = "4drives"; break; | 67 | case ide_4drives: name = "4drives"; break; |
68 | case ide_pmac: name = "mac-io"; break; | 68 | case ide_pmac: name = "mac-io"; break; |
69 | case ide_au1xxx: name = "au1xxx"; break; | 69 | case ide_au1xxx: name = "au1xxx"; break; |
70 | case ide_etrax100: name = "etrax100"; break; | ||
71 | case ide_acorn: name = "acorn"; break; | ||
70 | default: name = "(unknown)"; break; | 72 | default: name = "(unknown)"; break; |
71 | } | 73 | } |
72 | len = sprintf(page, "%s\n", name); | 74 | len = sprintf(page, "%s\n", name); |