Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 940000
Collapse All | Expand All

(-)a/framework_laptop.c (+8 lines)
Lines 750-756 static int framework_probe(struct platform_device *pdev) Link Here
750
	return ret;
750
	return ret;
751
}
751
}
752
752
753
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
754
static void framework_remove(struct platform_device *pdev)
755
#else
753
static int framework_remove(struct platform_device *pdev)
756
static int framework_remove(struct platform_device *pdev)
757
#endif
754
{
758
{
755
	struct framework_data *data;
759
	struct framework_data *data;
756
760
Lines 764-770 static int framework_remove(struct platform_device *pdev) Link Here
764
768
765
	put_device(ec_device);
769
	put_device(ec_device);
766
770
771
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 11, 0)
772
	return;
773
#else
767
	return 0;
774
	return 0;
775
#endif
768
}
776
}
769
777
770
static struct platform_driver framework_driver = {
778
static struct platform_driver framework_driver = {

Return to bug 940000