i2c-simtec.c (5c34202b8bf942da411b6599668a76b07449bbfd) | i2c-simtec.c (add8eda7f2be781af0224241e870715cf0cfd75a) |
---|---|
1/* 2 * Copyright (C) 2005 Simtec Electronics 3 * Ben Dooks <ben@simtec.co.uk> 4 * 5 * Simtec Generic I2C Controller 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 145 unchanged lines hidden (view full) --- 154 kfree(pd); 155 156 return 0; 157} 158 159 160/* device driver */ 161 | 1/* 2 * Copyright (C) 2005 Simtec Electronics 3 * Ben Dooks <ben@simtec.co.uk> 4 * 5 * Simtec Generic I2C Controller 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 145 unchanged lines hidden (view full) --- 154 kfree(pd); 155 156 return 0; 157} 158 159 160/* device driver */ 161 |
162/* work with hotplug and coldplug */ 163MODULE_ALIAS("platform:simtec-i2c"); 164 |
|
162static struct platform_driver simtec_i2c_driver = { 163 .driver = { 164 .name = "simtec-i2c", 165 .owner = THIS_MODULE, 166 }, 167 .probe = simtec_i2c_probe, 168 .remove = simtec_i2c_remove, 169}; --- 17 unchanged lines hidden --- | 165static struct platform_driver simtec_i2c_driver = { 166 .driver = { 167 .name = "simtec-i2c", 168 .owner = THIS_MODULE, 169 }, 170 .probe = simtec_i2c_probe, 171 .remove = simtec_i2c_remove, 172}; --- 17 unchanged lines hidden --- |