summaryrefslogtreecommitdiff
path: root/drivers/char/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2008-10-30 16:38:45 +0300
committerRalf Baechle <ralf@linux-mips.org>2008-10-30 17:44:34 +0300
commitcea7e2dfdef53fe55f359d00da562a268be06fd2 (patch)
treef5513224d9fb6e3fb086a3c629fb76f53ac6fea6 /drivers/char/Makefile
parent255a12fbf994664125983e389c975b4403aea167 (diff)
downloadlinux-cea7e2dfdef53fe55f359d00da562a268be06fd2.tar.xz
MIPS: Sort out CPU type to name translation.
As noticed by David Daney <ddaney@caviumnetworks.com>, the old long switch statement did not comply with the Linux C coding style. It was also yet another place of code to be changed when adding a new processor type leading to annoying bugs for example in /proc/cpuinfo. Fixed by moving the setting of the CPU type string into the core of the probing code and a few BUG_ON() test to ensure the CPU probing code indeed did its job and removing multiple now redundant tests. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/char/Makefile')
0 files changed, 0 insertions, 0 deletions