pcmcia: dev_node removal (core)
[safe/jmp/linux-2.6] / drivers / pcmcia / rsrc_mgr.c
index e6f7d41..ffa5f3c 100644 (file)
@@ -12,6 +12,7 @@
  * (C) 1999            David A. Hinds
  */
 
+#include <linux/slab.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 
@@ -79,9 +80,8 @@ static resource_size_t pcmcia_align(void *align_data,
 
 #ifdef CONFIG_X86
        if (res->flags & IORESOURCE_IO) {
-               if (start & 0x300) {
+               if (start & 0x300)
                        start = (start + 0x3ff) & ~0x3ff;
-               }
        }
 #endif