gpio-mmio.c (0cce284537fb42d9c28b9b31038ffc9b464555f5) | gpio-mmio.c (b8c90199b51aa59da06e1a82a22ba11e69bd8150) |
---|---|
1/* 2 * Generic driver for memory-mapped GPIO controllers. 3 * 4 * Copyright 2008 MontaVista Software, Inc. 5 * Copyright 2008,2010 Anton Vorontsov <cbouatmailru@gmail.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 561 unchanged lines hidden (view full) --- 570 571 return devm_ioremap_resource(&pdev->dev, r); 572} 573 574#ifdef CONFIG_OF 575static const struct of_device_id bgpio_of_match[] = { 576 { .compatible = "brcm,bcm6345-gpio" }, 577 { .compatible = "wd,mbl-gpio" }, | 1/* 2 * Generic driver for memory-mapped GPIO controllers. 3 * 4 * Copyright 2008 MontaVista Software, Inc. 5 * Copyright 2008,2010 Anton Vorontsov <cbouatmailru@gmail.com> 6 * 7 * This program is free software; you can redistribute it and/or modify it 8 * under the terms of the GNU General Public License as published by the --- 561 unchanged lines hidden (view full) --- 570 571 return devm_ioremap_resource(&pdev->dev, r); 572} 573 574#ifdef CONFIG_OF 575static const struct of_device_id bgpio_of_match[] = { 576 { .compatible = "brcm,bcm6345-gpio" }, 577 { .compatible = "wd,mbl-gpio" }, |
578 { .compatible = "ni,169445-nand-gpio" }, |
|
578 { } 579}; 580MODULE_DEVICE_TABLE(of, bgpio_of_match); 581 582static struct bgpio_pdata *bgpio_parse_dt(struct platform_device *pdev, 583 unsigned long *flags) 584{ 585 struct bgpio_pdata *pdata; --- 126 unchanged lines hidden --- | 579 { } 580}; 581MODULE_DEVICE_TABLE(of, bgpio_of_match); 582 583static struct bgpio_pdata *bgpio_parse_dt(struct platform_device *pdev, 584 unsigned long *flags) 585{ 586 struct bgpio_pdata *pdata; --- 126 unchanged lines hidden --- |