]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/pcmcia/rsrc_mgr.c
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[net-next-2.6.git] / drivers / pcmcia / rsrc_mgr.c
index e6f7d410aed618a8f1a80d8bfcdd4715b5cb97da..ffa5f3cae57b4ba543a5664e372281dff36ad000 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