* [patch] c99 struct initialization for the tuner module
@ 2002-11-07 10:35 Gerd Knorr
0 siblings, 0 replies; only message in thread
From: Gerd Knorr @ 2002-11-07 10:35 UTC (permalink / raw)
To: Linus Torvalds, Kernel List, Trivial Patch Monkey
Hi,
$SUBJECT says all, please apply,
Gerd
--- linux-2.5.46/drivers/media/video/tuner.c 2002-11-07 09:20:37.000000000 +0100
+++ linux/drivers/media/video/tuner.c 2002-11-07 09:22:20.000000000 +0100
@@ -975,18 +975,18 @@
/* ----------------------------------------------------------------------- */
static struct i2c_driver driver = {
- name: "i2c TV tuner driver",
- id: I2C_DRIVERID_TUNER,
- flags: I2C_DF_NOTIFY,
- attach_adapter: tuner_probe,
- detach_client: tuner_detach,
- command: tuner_command,
+ .name = "i2c TV tuner driver",
+ .id = I2C_DRIVERID_TUNER,
+ .flags = I2C_DF_NOTIFY,
+ .attach_adapter = tuner_probe,
+ .detach_client = tuner_detach,
+ .command = tuner_command,
};
static struct i2c_client client_template =
{
- name: "(tuner unset)",
- flags: I2C_CLIENT_ALLOW_USE,
- driver: &driver,
+ .name = "(tuner unset)",
+ .flags = I2C_CLIENT_ALLOW_USE,
+ .driver = &driver,
};
static int tuner_init_module(void)
--
You can't please everybody. And usually if you _try_ to please
everybody, the end result is one big mess.
-- Linus Torvalds, 2002-04-20
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-07 10:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-07 10:35 [patch] c99 struct initialization for the tuner module Gerd Knorr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox