From c00b979defb16ae8116e301d65341836669c700d Mon Sep 17 00:00:00 2001 From: XazZ Date: Mon, 21 Apr 2008 16:22:28 +0200 Subject: [PATCH] redesign two #if... #endif... #if... to make them look better --- pci.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pci.c b/pci.c index 381310f..5e450fd 100644 --- a/pci.c +++ b/pci.c @@ -4523,8 +4523,7 @@ int __init acxpci_e_init_module(void) #ifdef CONFIG_PCI res = pci_register_driver(&acxpci_drv_id); -#endif -#ifdef CONFIG_VLYNQ +#elif CONFIG_VLYNQ res = vlynq_register_driver(&vlynq_acx); #endif FN_EXIT1(res); @@ -4544,8 +4543,7 @@ void __exit acxpci_e_cleanup_module(void) #ifdef CONFIG_PCI pci_unregister_driver(&acxpci_drv_id); -#endif -#ifdef CONFIG_VLYNQ +#elif CONFIG_VLYNQ vlynq_unregister_driver(&vlynq_acx); #endif log(L_INIT, -- 2.11.4.GIT