Skip to contentSkip to conversation

linux/mtd/gpmi-nand.h: No such file or directory

DISCUSSION Peter Rusko 5 participants 9 messages Jan 13, 2012 – Jan 16, 2012 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi all,

I can't compile the gpmi-nand module. Currently I'm using the pengutronix/imx repository, but I've tried the master branch in mtd-2.6-git and got the same results:

CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
drivers/mtd/nand/gpmi-nand/gpmi-nand.c:24:33: fatal error:
linux/mtd/gpmi-nand.h: No such file or directory compilation terminated.

Where can I find that header?

Signature · 10 lines
Ruskó Péter
Fejlesztőmérnök

Prolan Zrt. / Prolan Co.
Hungary 2011 Budakalász, Szentendrei út 1-3.
Tel./Phone: +36 20 954 3118
Fax: +36 26 540 420
E-mail: [email protected]
Web: www.prolan.hu
Timezone:CET
#1 lore raw
Quoted 6 lines · Peter Rusko

Hi all,

I can't compile the gpmi-nand module. Currently I'm using the pengutronix/imx repository, but I've tried the master branch in mtd-2.6-git and got the same results:

Quoted 6 lines

CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
drivers/mtd/nand/gpmi-nand/gpmi-nand.c:24:33: fatal error:
linux/mtd/gpmi-nand.h: No such file or directory compilation terminated.

Where can I find that header?

It looks like it has never been added to the kernel tree. Huang?

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#2 lore raw
Quoted 7 lines · Artem Bityutskiy
Quoted 6 lines · Peter Rusko

Hi all,

I can't compile the gpmi-nand module. Currently I'm using the pengutronix/imx repository, but I've tried the master branch in mtd-2.6-git and got the same results:

Quoted 8 lines
Quoted 6 lines

CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
drivers/mtd/nand/gpmi-nand/gpmi-nand.c:24:33: fatal error:
linux/mtd/gpmi-nand.h: No such file or directory compilation terminated.

Where can I find that header?

It looks like it has never been added to the kernel tree. Huang?

Shawn has added it to his git tree to fix the compiling error.

Best Regards
Huang Shijie

#3 lore raw
Quoted 4 lines · Huang Shijie
Quoted 3 lines
Quoted 1 line

Where can I find that header?

It looks like it has never been added to the kernel tree. Huang?

Shawn has added it to his git tree to fix the compiling error.

This issue is upstream for long time, when are you planning to submit this patch? Can you send it now and I'll ask David to merge it - there is anyway another patch which requires quick merging upstream.

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#4 lore raw

Hi,

Quoted 3 lines
Quoted 1 line

Shawn has added it to his git tree to fix the compiling error.

This issue is upstream for long time, when are you planning to submit this patch? Can you send it now and I'll ask David to merge it - there

to Shawn:
When does your git tree been merged? Should I sent a patch to fix it?

Huang Shijie

Quoted 2 lines

is anyway another patch which requires quick merging upstream.

#5 lore raw
Quoted 6 lines · Huang Shijie

Hi,

Quoted 3 lines
Quoted 1 line

Shawn has added it to his git tree to fix the compiling error.

This issue is upstream for long time, when are you planning to submit this patch? Can you send it now and I'll ask David to merge it - there

to Shawn:
When does your git tree been merged? Should I sent a patch to fix it?

Not mine - David's. I do not know when exactly, but I suppose withing several days. Just send the fix out when you have it (and tested).

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#6 lore raw
In reply to Huang Shijie
Quoted 13 lines · Huang Shijie
Quoted 12 lines · Artem Bityutskiy
Quoted 11 lines · Peter Rusko

Hi all,

I can't compile the gpmi-nand module. Currently I'm using the pengutronix/imx repository, but I've tried the master branch in mtd-2.6-git and got the same results:

CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
drivers/mtd/nand/gpmi-nand/gpmi-nand.c:24:33: fatal error:
linux/mtd/gpmi-nand.h: No such file or directory compilation terminated.

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Where can I find that header?

It looks like it has never been added to the kernel tree. Huang?

Shawn has added it to his git tree to fix the compiling error.

No, it's not on my tree. I folded the patch that fixes this error in the series[1] of mxs-dma dma_transfer_direction migration as patch #3. The series has been picked up by Vinod. I suppose Vinod should send the series to Linus for 3.3, but I have not seen them on Linus' tree. Vinod?

Regards,
Shawn

[1] http://thread.gmane.org/gmane.linux.kernel.mmc/11669

#7 lore raw
Quoted 5 lines · Shawn Guo

No, it's not on my tree. I folded the patch that fixes this error in the series[1] of mxs-dma dma_transfer_direction migration as patch #3. The series has been picked up by Vinod. I suppose Vinod should send the series to Linus for 3.3, but I have not seen them on Linus' tree. Vinod?

Well, since this is a build fix, I suggest to merge it right away.

Signature · 2 lines
Best Regards,
Artem Bityutskiy
#8 lore raw
In reply to Shawn Guo
Quoted 17 lines · Shawn Guo
Quoted 16 lines · Huang Shijie
Quoted 15 lines · Artem Bityutskiy
Quoted 6 lines · Peter Rusko

Hi all,

I can't compile the gpmi-nand module. Currently I'm using the pengutronix/imx repository, but I've tried the master branch in mtd-2.6-git and got the same results:

Quoted 6 lines

CC drivers/mtd/nand/gpmi-nand/gpmi-nand.o
drivers/mtd/nand/gpmi-nand/gpmi-nand.c:24:33: fatal error:
linux/mtd/gpmi-nand.h: No such file or directory compilation terminated.

Where can I find that header?

It looks like it has never been added to the kernel tree. Huang?

Quoted 7 lines
Quoted 2 lines

Shawn has added it to his git tree to fix the compiling error.

No, it's not on my tree. I folded the patch that fixes this error in the series[1] of mxs-dma dma_transfer_direction migration as patch #3. The series has been picked up by Vinod. I suppose Vinod should send the series to Linus for 3.3, but I have not seen them on Linus' tree. Vinod?

I was on vacation last week.
Will send pull request to Linus today.
Please test against current Linux-next or slave-dma-next, it should build for you.

Quoted 1 line

[1] http://thread.gmane.org/gmane.linux.kernel.mmc/11669

--
~Vinod