On 11/21/2011 04:54 AM, Guillaume Zajac wrote:
Makefile.am | 3 +-
drivers/cdmamodem/cdmamodem.c | 2 +
drivers/cdmamodem/cdmamodem.h | 3 +
drivers/cdmamodem/sim.c | 582 +++++++++++++++++++++++++++++++++++++++++
4 files changed, 589 insertions(+), 1 deletions(-)
create mode 100644 drivers/cdmamodem/sim.c
I really don't like us copy-pasting this much code for no good reason.
Let me toy with a few ideas, but the obvious start would be to refactor
this code into a library.