Re: [stable 2.6.36+] lirc_sir: make device registration work

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

 



On Thu, Sep 27, 2012 at 03:31:54PM -0300, Mauro Carvalho Chehab wrote:
> Hi Greg,
> 
> Em Thu, 27 Sep 2012 11:18:40 -0700
> Greg KH <greg@xxxxxxxxx> escreveu:
> 
> > On Wed, Aug 01, 2012 at 03:51:09PM +0200, Stefan Lippers-Hollmann wrote:
> > > Hi
> > > 
> > > Please consider adding "[media] lirc_sir: make device registration 
> > > work" to stable:
> > > 
> > > <formletter>
> > > 
> > > This probably needs to get acked by the subsystem maintainer.
> > > 
> > > </formletter>
> > > 
> > > commit 4b71ca6bce8fab3d08c61bf330e781f957934ae1
> > > Author: Jarod Wilson <jarod@xxxxxxxxxx>
> > > Date:   Mon Jun 4 13:05:24 2012 -0300
> > > 
> > >     [media] lirc_sir: make device registration work
> > >     
> > >     For one, the driver device pointer needs to be filled in, or the lirc core
> > >     will refuse to load the driver. And we really need to wire up all the
> > >     platform_device bits. This has been tested via the lirc sourceforge tree
> > >     and verified to work, been sitting there for months, finally getting
> > >     around to sending it. :\
> > >     
> > >     CC: Josh Boyer <jwboyer@xxxxxxxxxx>
> > >     Signed-off-by: Jarod Wilson <jarod@xxxxxxxxxx>
> > >     Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> > > 
> > > [backporting to <= v3.1, needed for 3.0-longterm]
> > > The lirc subdirectory moved from drivers/staging/lirc/ to 
> > > drivers/staging/media/lirc/ in kernel v3.2, for older kernels this
> > > can simply be backported with:
> > > 
> > > 	sed -i 's|drivers/staging/media/lirc/|drivers/staging/lirc/|g' media-lirc_sir-make-device-registration-work.patch
> > > 
> > > no other changes are required for v3.0-longterm, build-tested.
> > 
> > Thanks for the sed script, that worked :)
> 
> Not directly related to this changeset, but we've reorganized the media tree
> structure, so I suspect that all patches c/c to stable for 3.6 (or upper) will
> require patch renames.
> 
> As I also need to work with patch renames, I wrote two scripts to help
> dealing with them:
> 
> http://git.linuxtv.org/media_build.git/blob/HEAD:/devel_scripts/gen_rename_patch.pl
> 
> This is a generic script that gets all file renames that happened between two
> given versions of the Kernel and generate a renaming script. Its usage is:
> 
> 	git diff 2ea4b44..b3f5260 -M | ./gen_rename_patch.pl
> 
> It outputs a rename shell script, called "rename_patch.sh".
> 
> In the specific case of the large amounts of rename we did at drivers/media,
> they're all handled by this script (generated by the above tool):
> 
> 	http://git.linuxtv.org/media_build.git/blob/HEAD:/devel_scripts/rename_patch.sh
> 
> 
> I suspect you may find it useful for you ;)

I tried this for the stable patches, but the above converts the patches
the opposite way for what I need (I need the reverse of the script).
Any ideas how I could generate a script to do that instead?

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux