Displaying 2 results from an estimated 2 matches for "virtio_mmio_cmdline_par".
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...7 @@ static int __devexit virtio_mmio_remove(struct platform_device *pdev)
+/* Devices list parameter */
+
+#if defined(CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES)
+
+static char *virtio_mmio_cmdline_devices;
+module_param_named(devices, virtio_mmio_cmdline_devices, charp, 0);
+
+static struct device virtio_mmio_cmdline_parent = {
+ .init_name = "virtio-mmio-cmdline",
+};
+
+static int virtio_mmio_register_cmdline_devices(void)
+{
+ int err;
+ int id = 0;
+ char *device = NULL;
+ char *token;
+
+ err = device_register(&virtio_mmio_cmdline_parent);
+ if (err)
+ return err;
+
+ /* Split colon-or-semicolon...
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...7 @@ static int __devexit virtio_mmio_remove(struct platform_device *pdev)
+/* Devices list parameter */
+
+#if defined(CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES)
+
+static char *virtio_mmio_cmdline_devices;
+module_param_named(devices, virtio_mmio_cmdline_devices, charp, 0);
+
+static struct device virtio_mmio_cmdline_parent = {
+ .init_name = "virtio-mmio-cmdline",
+};
+
+static int virtio_mmio_register_cmdline_devices(void)
+{
+ int err;
+ int id = 0;
+ char *device = NULL;
+ char *token;
+
+ err = device_register(&virtio_mmio_cmdline_parent);
+ if (err)
+ return err;
+
+ /* Split colon-or-semicolon...