mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Make internal functions static
This commit is contained in:
parent
c0c2f933c0
commit
ddda63476c
@ -36,7 +36,7 @@ either expressed or implied, of The Regents of the University of California.
|
||||
#include <linux/i2c-mux.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
void mqnic_i2c_set_scl(void *data, int state)
|
||||
static void mqnic_i2c_set_scl(void *data, int state)
|
||||
{
|
||||
struct mqnic_i2c_priv *priv = data;
|
||||
|
||||
@ -50,7 +50,7 @@ void mqnic_i2c_set_scl(void *data, int state)
|
||||
}
|
||||
}
|
||||
|
||||
void mqnic_i2c_set_sda(void *data, int state)
|
||||
static void mqnic_i2c_set_sda(void *data, int state)
|
||||
{
|
||||
struct mqnic_i2c_priv *priv = data;
|
||||
|
||||
@ -64,14 +64,14 @@ void mqnic_i2c_set_sda(void *data, int state)
|
||||
}
|
||||
}
|
||||
|
||||
int mqnic_i2c_get_scl(void *data)
|
||||
static int mqnic_i2c_get_scl(void *data)
|
||||
{
|
||||
struct mqnic_i2c_priv *priv = data;
|
||||
|
||||
return !!(ioread32(priv->scl_in_reg) & priv->scl_in_mask);
|
||||
}
|
||||
|
||||
int mqnic_i2c_get_sda(void *data)
|
||||
static int mqnic_i2c_get_sda(void *data)
|
||||
{
|
||||
struct mqnic_i2c_priv *priv = data;
|
||||
|
||||
|
@ -237,7 +237,7 @@ static int mqnic_phc_enable(struct ptp_clock_info *ptp, struct ptp_clock_request
|
||||
}
|
||||
}
|
||||
|
||||
void mqnic_phc_set_from_system_clock(struct ptp_clock_info *ptp)
|
||||
static void mqnic_phc_set_from_system_clock(struct ptp_clock_info *ptp)
|
||||
{
|
||||
struct timespec64 ts;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user