login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
5
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip OTP memory
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Mike Frysinger <vapier.adi@...>
To: Jiri Slaby <jirislaby@...>
Cc: Bryan Wu <bryan.wu@...>, <linux-kernel@...>, Mike Frysinger <michael.frysinger@...>
Subject:
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip OTP memory
Date: Tuesday, February 5, 2008 - 2:59 pm
On Jan 30, 2008 6:00 AM, Jiri Slaby <jirislaby@gmail.com> wrote:
quoted text
> On 01/30/2008 11:36 AM, Bryan Wu wrote: > > + > > + ret = cdev_add(&bfin_otp_cdev, bfin_otp_dev_node, 1); > > + if (ret) { > > + unregister_chrdev_region(bfin_otp_dev_node, 1); > > + printk(KERN_ERR PFX "unable to register char device\n"); > > + return ret; > > + } > > + > > + bfin_otp_class = class_create(THIS_MODULE, "otp"); > > + device_create(bfin_otp_class, NULL, bfin_otp_dev_node, "otp"); > > Anyway, wouldn't be easier/better to use misc.c functionality here > (misc_register() et al.)?
thanks, ive converted this now ... Bryan can post an updated patch :)
http://blackfin.uclinux.org/gf/project/linux-kernel/scmsvn/?action=browse&path=/trunk/...
-mike --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 1/1] [Blackfin] char driver for Blackfin on-chip OTP ...
, Bryan Wu
, (Wed Jan 30, 6:36 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Jiri Slaby
, (Wed Jan 30, 7:00 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Mike Frysinger
, (Tue Feb 5, 2:59 pm)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Mike Frysinger
, (Wed Jan 30, 9:19 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Jiri Slaby
, (Wed Jan 30, 9:38 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Mike Frysinger
, (Wed Jan 30, 9:41 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Robin Getz
, (Wed Jan 30, 8:39 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Bryan Wu
, (Wed Jan 30, 9:15 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Jiri Slaby
, (Wed Jan 30, 9:43 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Jiri Slaby
, (Wed Jan 30, 9:53 am)
Re: [PATCH 1/1] [Blackfin] char driver for Blackfin on-chip ...
, Jiri Slaby
, (Wed Jan 30, 9:08 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Andi Kleen
Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: Possible regression in HTB
Natalie Protasevich
[BUG] New Kernel Bugs
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
git
:
Colocation donated by:
Who's online
There are currently
2 users
and
584 guests
online.
Online users
holisticdog329
dolorpalda
Syndicate