X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=drivers%2Finput%2Fjoystick%2Fanalog.c;h=708c5ae13b24f33cb6b8b323996c2332d84520b7;hb=d7b6de14a0ef8a376f9d57b867545b47302b7bfb;hp=15739880afc6af31829f8a3058c701efa0976207;hpb=804b908adfcffe3831621acb6c8a776585983d2a;p=linux-2.6 diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c index 15739880af..708c5ae13b 100644 --- a/drivers/input/joystick/analog.c +++ b/drivers/input/joystick/analog.c @@ -1,6 +1,4 @@ /* - * $Id: analog.c,v 1.68 2002/01/22 20:18:32 vojtech Exp $ - * * Copyright (c) 1996-2001 Vojtech Pavlik */ @@ -31,7 +29,6 @@ #include #include #include -#include #include #include #include @@ -165,6 +162,10 @@ static unsigned int get_time_pit(void) #define GET_TIME(x) do { x = get_cycles(); } while (0) #define DELTA(x,y) ((y)-(x)) #define TIME_NAME "PCC" +#elif defined(CONFIG_MN10300) +#define GET_TIME(x) do { x = get_cycles(); } while (0) +#define DELTA(x, y) ((x) - (y)) +#define TIME_NAME "TSC" #else #define FAKE_TIME static unsigned long analog_faketime = 0;