23 #include <linux/module.h>
24 #include <linux/kernel.h>
26 #include <linux/pci.h>
32 static struct resource rdc321x_wdt_resource[] = {
45 static struct resource rdc321x_gpio_resources[] = {
59 static struct mfd_cell rdc321x_sb_cells[] = {
61 .name =
"rdc321x-wdt",
62 .resources = rdc321x_wdt_resource,
63 .num_resources =
ARRAY_SIZE(rdc321x_wdt_resource),
67 .name =
"rdc321x-gpio",
68 .resources = rdc321x_gpio_resources,
69 .num_resources =
ARRAY_SIZE(rdc321x_gpio_resources),
70 .platform_data = &rdc321x_gpio_pdata,
71 .pdata_size =
sizeof(rdc321x_gpio_pdata),
82 dev_err(&pdev->
dev,
"failed to enable device\n");
86 rdc321x_gpio_pdata.
sb_pdev = pdev;
90 rdc321x_sb_cells,
ARRAY_SIZE(rdc321x_sb_cells),
105 static struct pci_driver rdc321x_sb_driver = {
106 .name =
"RDC321x Southbridge",
107 .id_table = rdc321x_sb_table,
108 .probe = rdc321x_sb_probe,