From c9f4e59c301ccf254e281c660a7000af7ef41b88 Mon Sep 17 00:00:00 2001 From: Jan Pieter Date: Tue, 29 Nov 2005 16:14:58 -0800 Subject: [PATCH] --- yaml --- r: 14791 b: refs/heads/master c: e91a73568b19b4a8145fc6e05314d522ee35a0b1 h: refs/heads/master i: 14789: a13267d9496678a7e031e6c7ebf54b18a8f0cff0 14787: 2986b2a4482065e0f31f99ca35b42a27fcd37636 14783: 2c090f6c7d61d2eeeccb1447d438e9b4f6035e08 v: v3 --- [refs] | 2 +- trunk/drivers/atm/atmdev_init.c | 54 --------------------------------- 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 trunk/drivers/atm/atmdev_init.c diff --git a/[refs] b/[refs] index 188570ab8448..9a28bd1edd65 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fd22f1e037be33040f5583fe091d39d1e632e183 +refs/heads/master: e91a73568b19b4a8145fc6e05314d522ee35a0b1 diff --git a/trunk/drivers/atm/atmdev_init.c b/trunk/drivers/atm/atmdev_init.c deleted file mode 100644 index 0e09e5c28e3f..000000000000 --- a/trunk/drivers/atm/atmdev_init.c +++ /dev/null @@ -1,54 +0,0 @@ -/* drivers/atm/atmdev_init.c - ATM device driver initialization */ - -/* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */ - - -#include -#include - - -#ifdef CONFIG_ATM_ZATM -extern int zatm_detect(void); -#endif -#ifdef CONFIG_ATM_AMBASSADOR -extern int amb_detect(void); -#endif -#ifdef CONFIG_ATM_HORIZON -extern int hrz_detect(void); -#endif -#ifdef CONFIG_ATM_FORE200E -extern int fore200e_detect(void); -#endif -#ifdef CONFIG_ATM_LANAI -extern int lanai_detect(void); -#endif - - -/* - * For historical reasons, atmdev_init returns the number of devices found. - * Note that some detections may not go via atmdev_init (e.g. eni.c), so this - * number is meaningless. - */ - -int __init atmdev_init(void) -{ - int devs; - - devs = 0; -#ifdef CONFIG_ATM_ZATM - devs += zatm_detect(); -#endif -#ifdef CONFIG_ATM_AMBASSADOR - devs += amb_detect(); -#endif -#ifdef CONFIG_ATM_HORIZON - devs += hrz_detect(); -#endif -#ifdef CONFIG_ATM_FORE200E - devs += fore200e_detect(); -#endif -#ifdef CONFIG_ATM_LANAI - devs += lanai_detect(); -#endif - return devs; -}