From: Jan-Benedict G. <jb...@us...> - 2005-04-25 10:31:06
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3410 Modified Files: cpu_ka42.c Log Message: - Whitespace. - cpu_ka42.c contains: static int __init ka42_platform_device_init(void) { int retval; if (mv != &mv_ka42) { return -ENODEV; } This could be "if (!is_ka42())", right? Index: cpu_ka42.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/cpu_ka42.c,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- cpu_ka42.c 2 Oct 2004 11:42:46 -0000 1.17 +++ cpu_ka42.c 25 Apr 2005 10:30:55 -0000 1.18 @@ -4,7 +4,7 @@ * Copyright (C) 2000 Kenn Humborg * * This file contains generic machine vector handlers for the - * KA42 CPUs in the early CVAX-based VAXstation 3100 + * KA42 CPUs in the early CVAX-based VAXstation 3100 * machines (models 10 to 48) * */ @@ -19,7 +19,7 @@ #include <asm/vaxcpu.h> #include <asm/clock.h> /* For clock_init routines */ #include <asm/bus/vsbus.h> - + static void ka42_post_vm_init(void) { #define KA42_CADR_S2E 0x80 @@ -36,13 +36,13 @@ static const char *ka42_cpu_type_str(void) { - return "KA42"; + return "KA42"; } struct vax_mv mv_ka42 = { .post_vm_init = ka42_post_vm_init, .pre_vm_putchar = ka4x_prom_putchar, - .pre_vm_getchar = ka4x_prom_getchar, + .pre_vm_getchar = ka4x_prom_getchar, .post_vm_putchar = dz11_putchar, .post_vm_getchar = dz11_getchar, .cpu_type_str = ka42_cpu_type_str, @@ -90,7 +90,7 @@ vsbus_add_fixed_device(&ka42_vsbus_device.dev, "vax-5380-ext", 0x200c0180, 0); #endif } - + return retval; } |