pc_usb_host_drv: supress '__printk_ratelimit'

This commit is contained in:
Josef Söntgen 2022-04-20 17:17:07 +02:00 committed by Christian Helmuth
parent 2fd2b7d628
commit 2e9e5c37b5
2 changed files with 10 additions and 8 deletions

View File

@ -564,3 +564,13 @@ int usb_acpi_set_power_state(struct usb_device *hdev, int index, bool enable)
lx_emul_trace(__func__);
return 0;
}
#include <linux/printk.h>
int __printk_ratelimit(const char * func)
{
lx_emul_trace(__func__);
/* suppress */
return 0;
}

View File

@ -55,14 +55,6 @@ unsigned long __get_free_pages(gfp_t gfp_mask,unsigned int order)
}
#include <linux/printk.h>
int __printk_ratelimit(const char * func)
{
lx_emul_trace_and_stop(__func__);
}
#include <linux/cred.h>
void __put_cred(struct cred * cred)