]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in omap_uwire.c
authorDirk Behme <dirk.behme_at_gmail.com>
Fri, 22 Dec 2006 20:35:03 +0000 (12:35 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 22 Dec 2006 20:35:03 +0000 (12:35 -0800)
ARM: OMAP: Convert SLAB_KERNEL to GFP_KERNEL in omap_uwire.c

Signed-off-by: Dirk Behme <dirk.behme_at_gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/spi/omap_uwire.c

index d3a421b9f31af4e06256e2e9a47759d565a562f4..b5a4d62c7c3edfa2259c3aa75e43eccd6efd918e 100644 (file)
@@ -446,7 +446,7 @@ static int uwire_setup(struct spi_device *spi)
        struct uwire_state *ust = spi->controller_state;
 
        if (ust == NULL) {
-               ust = kzalloc(sizeof(*ust), SLAB_KERNEL);
+               ust = kzalloc(sizeof(*ust), GFP_KERNEL);
                if (ust == NULL)
                        return -ENOMEM;
                spi->controller_state = ust;