public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Artem B. Bityutskiy" <dedekind@yandex.ru>
To: llandre <r&d2@dave-tech.it>
Cc: linux-mtd@lists.infradead.org
Subject: Re: How to generate a patch limited to MTD subsystem
Date: Wed, 02 Aug 2006 18:38:55 +0400	[thread overview]
Message-ID: <44D0B8FF.6090601@yandex.ru> (raw)
In-Reply-To: <44D0B33A.2080702@dave-tech.it>

llandre wrote:
> I'm facing the following problem.
> I'm working on custom hardware with kernel 2.6.15. I suspect I need to 
> update the MTD subsystem with latest sources. How to do that without 
> migrating to latest kernel? In other words I need to generate a patch 
> from latest MTD code against MTD code included in v2.6.15 kernel. Is it 
> possible? How?

I'd do like this:

rm -rf linux-2.6.15/drivers/mtd
cp -r linux-latest/drivers/mtd linux-2.6.15/drivers/

rm linux-2.6.15/include/mtd
cp -r linux-latest/include/mtd linux-2.6.15/include/mtd

rm linux-2.6.15/include/linux/mtd
cp -r linux-latest/include/linux/mtd linux-2.6.15/include/linux/mtd

Then try to compile & run and resolve all problems. I suspect there are 
not going to be many of them.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

  reply	other threads:[~2006-08-02 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-02 14:14 How to generate a patch limited to MTD subsystem llandre
2006-08-02 14:38 ` Artem B. Bityutskiy [this message]
2006-08-02 15:18   ` llandre
2006-08-02 15:22     ` Artem B. Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44D0B8FF.6090601@yandex.ru \
    --to=dedekind@yandex.ru \
    --cc=linux-mtd@lists.infradead.org \
    --cc=r&d2@dave-tech.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox