system

the Chamesle handbook, init, live ISO and install helpers
git clone https://github.com/tortr-rs/system
Log | Files | Refs | README | LICENSE

wmbattery-2.56-lto.patch (392B)


      1 diff -Naur wmbattery-2.56.orig/sonypi.c wmbattery-2.56/sonypi.c
      2 --- wmbattery-2.56.orig/sonypi.c	2022-06-03 21:22:12.000000000 +0200
      3 +++ wmbattery-2.56/sonypi.c	2025-08-22 01:21:59.483780914 +0200
      4 @@ -24,7 +24,7 @@
      5  		return 1;
      6  }
      7  
      8 -inline int sonypi_ioctl(int ioctlno, void *param)
      9 +static int sonypi_ioctl(int ioctlno, void *param)
     10  {
     11  	if (ioctl(spicfd, ioctlno, param) < 0)
     12  		return 0;