wok-current rev 20275

lirc: remove <asm/system.h>
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 19 09:59:04 2018 +0100 (2018-03-19)
parents 71b689feb45c
children b85b81473001
files lirc/receipt lirc64/receipt
line diff
     1.1 --- a/lirc/receipt	Sun Mar 18 21:05:50 2018 +0100
     1.2 +++ b/lirc/receipt	Mon Mar 19 09:59:04 2018 +0100
     1.3 @@ -19,6 +19,11 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	sed -i 's|__devexit ||;s|__devinit ||' \
     1.8 +		drivers/lirc_serial/lirc_serial.c drivers/lirc_sir/lirc_sir.c
     1.9 +	sed -i 's|#include <asm/system.h>|#define __devexit_p(x) x|' \
    1.10 +		drivers/lirc_serial/lirc_serial.c drivers/lirc_sir/lirc_sir.c
    1.11 +
    1.12  	sed -i '/smp_lock.h/d' drivers/lirc_atiusb/lirc_atiusb.c
    1.13  	sed -i 's|err(|printk(KERN_ERR|' drivers/*/*.c
    1.14  
     2.1 --- a/lirc64/receipt	Sun Mar 18 21:05:50 2018 +0100
     2.2 +++ b/lirc64/receipt	Mon Mar 19 09:59:04 2018 +0100
     2.3 @@ -24,6 +24,11 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 +	sed -i 's|__devexit ||;s|__devinit ||' \
     2.8 +		drivers/lirc_serial/lirc_serial.c drivers/lirc_sir/lirc_sir.c
     2.9 +	sed -i 's|#include <asm/system.h>|#define __devexit_p(x) x|' \
    2.10 +		drivers/lirc_serial/lirc_serial.c drivers/lirc_sir/lirc_sir.c
    2.11 +
    2.12  	sed -i '/smp_lock.h/d' drivers/lirc_atiusb/lirc_atiusb.c
    2.13  	sed -i 's|err(|printk(KERN_ERR|' drivers/*/*.c
    2.14