OSDN Git Service

misc: rtsx: make several functions static
authorColin Ian King <colin.king@canonical.com>
Fri, 1 Jun 2018 14:54:44 +0000 (15:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jul 2018 11:01:48 +0000 (13:01 +0200)
commitce7d8f8a66e6d0600e5f368233849d2e4560a732
treeeedebd24b99c0644a055cca152f84d5c0fc24615
parentc4bcaffa6b8192379eec9a8f7fe263907c4b755e
misc: rtsx: make several functions static

Several helper functions are local to the source and do not
need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'rtsx_pm_power_saving' was not declared. Should it be static?
symbol 'rtsx_set_l1off_sub_cfg_d0' was not declared. Should it be static?
symbol 'rtsx_pm_full_on' was not declared. Should it be static?
symbol 'rtsx_comm_set_ltr_latency' was not declared. Should it be static?
symbol 'rtsx_pci_process_ocp' was not declared. Should it be static?
symbol 'rtsx_pci_process_ocp_interrupt' was not declared. Should it be
static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rtsx_pcr.c