Re: fix another compilation error in 3.1-rc9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Adding Grant, SPI maintainer]

Hi,

I can't reproduce this problem. CONFIG_SPI doesn't seem to be on for
tegra_defconfig (I'll revisit the defconfig and turn on missing
options for 3.2), but even after I enable it (plus CONFIG_SPI_TEGRA),
I don't see any errors here. I tried static build as well as module.
Can you provide more detail to what you're seeing?


Also, for future patches:

* Please add your free-form comment below the "---" in the commit
message. That way git apply-mbox will just automatically do the right
thing and leave it out from the patch
* If you include the compiler error output it's easier for others to
find the error on the lists and avoid duplicate patch submissions.


Thanks!

-Olof

On Mon, Oct 10, 2011 at 2:17 AM, Marc Dietrich <marvin24@xxxxxx> wrote:
> Hi Olof,
>
> sorry for being so late, but here is another last minute patch.
>
> Marc
>
> -----
>
> spi/tegra: fix compilation error in spi-tegra.c
>
> This adds the missing #include <linux/module.h> to spi-tegra.c
>
> Signed-off-by: Marc Dietrich <marvin24@xxxxxx>
>
> diff --git a/drivers/spi/spi-tegra.c b/drivers/spi/spi-tegra.c
> index a5a6302..e8cd58f 100644
> --- a/drivers/spi/spi-tegra.c
> +++ b/drivers/spi/spi-tegra.c
> @@ -18,6 +18,7 @@
>  */
>
>  #include <linux/kernel.h>
> +#include <linux/module.h>
>  #include <linux/init.h>
>  #include <linux/err.h>
>  #include <linux/platform_device.h>
>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux