On 28.08.2019 17:47, Rafał Miłecki wrote:
From: Rafał Miłecki <rafal@xxxxxxxxxx> This is a trivial debugfs entry for triggering reset just like in case of firmware crash. It works by writing 1 to it: echo 1 > reset Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>
Please drop this patch drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c: In function 'brcmf_bus_started': drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c:1187:37: error: implicit declaration of function 'brcmf_debugfs_get_devdir'; did you mean 'brcmf_debugfs_add_entry'? [-Werror=implicit-function-declaration] debugfs_create_file("reset", 0600, brcmf_debugfs_get_devdir(drvr), drvr, ^~~~~~~~~~~~~~~~~~~~~~~~ brcmf_debugfs_add_entry