* there is a change in previous post
@ 2005-07-19 9:34 Nupur
2005-07-19 16:33 ` Todd Poynor
0 siblings, 1 reply; 2+ messages in thread
From: Nupur @ 2005-07-19 9:34 UTC (permalink / raw)
To: linux-mtd
Hello,
There are some changes in the previous mail.So, I am re-writing the whole
mail. I appologize for this.
I am trying to make Linux 2.6.10 work with MTD support. I am compiling the
kernel on the host platform (Desktop computer) and then will be porting
it on target platform. I have also included the patch for the kernel called
mtd-snapshot-20050705. Though, whenever I include the support for mtdchar
device, I get errors and the kernel wont compile.
The error being:
in function 'mtd_notify_add': undefined reference to 'class_device_create'
in function 'mtd_notify_remove': undefined reference to
'class_device_destroy'
in function 'init_mtdchar': undefined reference to 'class_create'
in function 'cleanup_mtdchar': undefined reference to 'class_destroy'
I checked in mtdchar.c, there is a call to the above functions but I could
not
find the definition of these functions in my kernel.
I understand that I am missing something, but what I am missing is not clear
to me.
Please help me.
Thanks and regards,
Nupur
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: there is a change in previous post
2005-07-19 9:34 there is a change in previous post Nupur
@ 2005-07-19 16:33 ` Todd Poynor
0 siblings, 0 replies; 2+ messages in thread
From: Todd Poynor @ 2005-07-19 16:33 UTC (permalink / raw)
To: Nupur; +Cc: linux-mtd
Nupur wrote:
>
> I am trying to make Linux 2.6.10 work with MTD support. ...
> in function 'mtd_notify_add': undefined reference to 'class_device_create'
> in function 'mtd_notify_remove': undefined reference to
> 'class_device_destroy'
> in function 'init_mtdchar': undefined reference to 'class_create'
> in function 'cleanup_mtdchar': undefined reference to 'class_destroy'
The latest linux-mtd code matches the latest linux code, which obsoleted
the previous "class_simple" interface in favor of the above interfaces
recently. Check the CVS logs and cvs diff the appropriate revision of
mtdchar.c to find a reverse patch to put back the class_simple version.
Or googling Greg K-H's changes to convert class_simple will also show
examples that can be reversed.
--
Todd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-19 16:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-19 9:34 there is a change in previous post Nupur
2005-07-19 16:33 ` Todd Poynor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox