lkml.org 
[lkml]   [2012]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 95/95] spi-topcliff-pch: rename pch_spi_pcidev to pch_spi_pcidev_driver
    3.2-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Danny Kukawka <danny.kukawka@bisect.de>

    commit c88db233251b026fda775428f0250c760553e216 upstream.

    Rename static struct pci_driver pch_spi_pcidev to
    pch_spi_pcidev_driver to get rid of warnings from modpost checks.

    Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
    Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    drivers/spi/spi-topcliff-pch.c | 6 +++---
    1 file changed, 3 insertions(+), 3 deletions(-)

    --- a/drivers/spi/spi-topcliff-pch.c
    +++ b/drivers/spi/spi-topcliff-pch.c
    @@ -1717,7 +1717,7 @@ static int pch_spi_resume(struct pci_dev

    #endif

    -static struct pci_driver pch_spi_pcidev = {
    +static struct pci_driver pch_spi_pcidev_driver = {
    .name = "pch_spi",
    .id_table = pch_spi_pcidev_id,
    .probe = pch_spi_probe,
    @@ -1733,7 +1733,7 @@ static int __init pch_spi_init(void)
    if (ret)
    return ret;

    - ret = pci_register_driver(&pch_spi_pcidev);
    + ret = pci_register_driver(&pch_spi_pcidev_driver);
    if (ret)
    return ret;

    @@ -1743,7 +1743,7 @@ module_init(pch_spi_init);

    static void __exit pch_spi_exit(void)
    {
    - pci_unregister_driver(&pch_spi_pcidev);
    + pci_unregister_driver(&pch_spi_pcidev_driver);
    platform_driver_unregister(&pch_spi_pd_driver);
    }
    module_exit(pch_spi_exit);



    \
     
     \ /
      Last update: 2012-03-09 21:07    [W:0.023 / U:30.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site