summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorJohannes Stezenbach <devnull@localhost>2004-08-30 21:40:54 +0000
committerJohannes Stezenbach <devnull@localhost>2004-08-30 21:40:54 +0000
commit44798bf57a6018adac20290fb0e6985b8a9efc33 (patch)
tree2f62cd7bdfa5cf9853f4cc6da2cbacbb749a8727 /linux
parentd641a91cf096da0d913c75e67dfc92a85941556d (diff)
downloadmediapointer-dvb-s2-44798bf57a6018adac20290fb0e6985b8a9efc33.tar.gz
mediapointer-dvb-s2-44798bf57a6018adac20290fb0e6985b8a9efc33.tar.bz2
make all client_register() and client_unregister() static
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/b2c2/skystar2.c4
-rw-r--r--linux/drivers/media/dvb/ttpci/av7110.c5
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c5
-rw-r--r--linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c4
4 files changed, 8 insertions, 10 deletions
diff --git a/linux/drivers/media/dvb/b2c2/skystar2.c b/linux/drivers/media/dvb/b2c2/skystar2.c
index 848ac4a2c..c8df21ad3 100644
--- a/linux/drivers/media/dvb/b2c2/skystar2.c
+++ b/linux/drivers/media/dvb/b2c2/skystar2.c
@@ -2236,7 +2236,7 @@ static int flexcop_diseqc_ioctl(struct dvb_frontend *fe, unsigned int cmd, void
}
-int client_register(struct i2c_client *client)
+static int client_register(struct i2c_client *client)
{
struct adapter *adapter = (struct adapter*)i2c_get_adapdata(client->adapter);
@@ -2247,7 +2247,7 @@ int client_register(struct i2c_client *client)
return 0;
}
-int client_unregister(struct i2c_client *client)
+static int client_unregister(struct i2c_client *client)
{
struct adapter *adapter = (struct adapter*)i2c_get_adapdata(client->adapter);
diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c
index cebfbb305..74681b903 100644
--- a/linux/drivers/media/dvb/ttpci/av7110.c
+++ b/linux/drivers/media/dvb/ttpci/av7110.c
@@ -1412,8 +1412,7 @@ static int get_firmware(struct av7110* av7110)
#endif
-static
-int client_register(struct i2c_client *client)
+static int client_register(struct i2c_client *client)
{
struct saa7146_dev *dev = (struct saa7146_dev*)i2c_get_adapdata(client->adapter);
struct av7110 *av7110 = (struct av7110*)dev->ext_priv;
@@ -1424,7 +1423,7 @@ int client_register(struct i2c_client *client)
return 0;
}
-int client_unregister(struct i2c_client *client)
+static int client_unregister(struct i2c_client *client)
{
struct saa7146_dev *dev = (struct saa7146_dev*)i2c_get_adapdata(client->adapter);
struct av7110 *av7110 = (struct av7110*)dev->ext_priv;
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index 3d414adf0..e4938bb1f 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -264,8 +264,7 @@ static void budget_unregister(struct budget *budget)
}
/* fixme: can this be unified among all saa7146 based dvb cards? */
-static
-int client_register(struct i2c_client *client)
+static int client_register(struct i2c_client *client)
{
struct saa7146_dev *dev = (struct saa7146_dev*)i2c_get_adapdata(client->adapter);
struct budget *budget = (struct budget*)dev->ext_priv;
@@ -275,7 +274,7 @@ int client_register(struct i2c_client *client)
return 0;
}
-int client_unregister(struct i2c_client *client)
+static int client_unregister(struct i2c_client *client)
{
struct saa7146_dev *dev = (struct saa7146_dev*)i2c_get_adapdata(client->adapter);
struct budget *budget = (struct budget*)dev->ext_priv;
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
index f0e4a0bb4..3ce423b55 100644
--- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
+++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
@@ -1083,7 +1083,7 @@ static struct i2c_algorithm ttusb_dec_algo = {
.functionality = functionality,
};
-int client_register(struct i2c_client *client)
+static int client_register(struct i2c_client *client)
{
struct ttusb *ttusb = (struct ttusb*)i2c_get_adapdata(client->adapter);
@@ -1093,7 +1093,7 @@ int client_register(struct i2c_client *client)
return 0;
}
-int client_unregister(struct i2c_client *client)
+static int client_unregister(struct i2c_client *client)
{
struct ttusb *ttusb = (struct ttusb*)i2c_get_adapdata(client->adapter);