[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AANLkTi=i=6U9utEsSWFvmazpSqGKBAuBw+HR0x=Ox1Bu@mail.gmail.com>
Date: Thu, 6 Jan 2011 13:28:33 -0500
From: Mike Frysinger <vapier.adi@...il.com>
To: Daniel Drake <dsd@...top.org>
Cc: sameo@...ux.intel.com, linux-kernel@...r.kernel.org,
laforge@...monks.org
Subject: Re: [PATCH 3/3] Add VIA VX855 GPIO driver
On Thu, Sep 30, 2010 at 16:55, Daniel Drake wrote:
> --- /dev/null
> +++ b/drivers/gpio/vx855_gpio.c
> @@ -0,0 +1,332 @@
> +#include <linux/kernel.h>
> +#include <linux/module.h>
> +#include <linux/gpio.h>
> +#include <linux/device.h>
> +#include <linux/platform_device.h>
> +#include <linux/pci.h>
> +#include <linux/io.h>
i guess you wrote this against a much older kernel and didnt compile
against a newer one ? it fails to build due to missing linux/slab.h
include:
CC drivers/gpio/vx855_gpio.o
drivers/gpio/vx855_gpio.c: In function ‘vx855gpio_probe’:
drivers/gpio/vx855_gpio.c:233: error: implicit declaration of function ‘kzalloc’
drivers/gpio/vx855_gpio.c:233: warning: assignment makes pointer from
integer without a cast
drivers/gpio/vx855_gpio.c:282: error: implicit declaration of function ‘kfree’
make[1]: *** [drivers/gpio/vx855_gpio.o] Error 1
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists