suspend.c (61c7a080a5a061c976988fd4b844dfb468dda255) | suspend.c (4018294b53d1dae026880e45f174c1cc63b5d435) |
---|---|
1/* 2 * MPC83xx suspend support 3 * 4 * Author: Scott Wood <scottwood@freescale.com> 5 * 6 * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 409 unchanged lines hidden (view full) --- 418 { 419 .compatible = "fsl,mpc8349-pmc", 420 .data = &pmc_types[1], 421 }, 422 {} 423}; 424 425static struct of_platform_driver pmc_driver = { | 1/* 2 * MPC83xx suspend support 3 * 4 * Author: Scott Wood <scottwood@freescale.com> 5 * 6 * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 409 unchanged lines hidden (view full) --- 418 { 419 .compatible = "fsl,mpc8349-pmc", 420 .data = &pmc_types[1], 421 }, 422 {} 423}; 424 425static struct of_platform_driver pmc_driver = { |
426 .name = "mpc83xx-pmc", 427 .match_table = pmc_match, | 426 .driver = { 427 .name = "mpc83xx-pmc", 428 .owner = THIS_MODULE, 429 .of_match_table = pmc_match, 430 }, |
428 .probe = pmc_probe, 429 .remove = pmc_remove 430}; 431 432static int pmc_init(void) 433{ 434 return of_register_platform_driver(&pmc_driver); 435} 436 437module_init(pmc_init); | 431 .probe = pmc_probe, 432 .remove = pmc_remove 433}; 434 435static int pmc_init(void) 436{ 437 return of_register_platform_driver(&pmc_driver); 438} 439 440module_init(pmc_init); |