diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2012-07-05 22:38:29 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2012-07-05 22:38:29 +0200 |
commit | 1777a0ad0303e095b6e576bd2d9431d02226a191 (patch) | |
tree | a638bdc778fff739693be81863ec57d1e4a8c35d /samsung-ipc | |
parent | bd70ecb8ad2c7ebdb1940a2088517032e849f0c3 (diff) | |
download | external_libsamsung-ipc-1777a0ad0303e095b6e576bd2d9431d02226a191.zip external_libsamsung-ipc-1777a0ad0303e095b6e576bd2d9431d02226a191.tar.gz external_libsamsung-ipc-1777a0ad0303e095b6e576bd2d9431d02226a191.tar.bz2 |
XMM6260/Crespo: Fixed common_data_set_fd
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r-- | samsung-ipc/device/crespo/crespo_ipc.c | 2 | ||||
-rw-r--r-- | samsung-ipc/device/xmm6260/xmm6260_ipc.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/samsung-ipc/device/crespo/crespo_ipc.c b/samsung-ipc/device/crespo/crespo_ipc.c index 5bf6268..502da21 100644 --- a/samsung-ipc/device/crespo/crespo_ipc.c +++ b/samsung-ipc/device/crespo/crespo_ipc.c @@ -638,7 +638,7 @@ int crespo_ipc_common_data_set_fd(void *io_data, int fd) return -1; common_data = (int *) io_data; - common_data = &fd; + *common_data = fd; return 0; } diff --git a/samsung-ipc/device/xmm6260/xmm6260_ipc.c b/samsung-ipc/device/xmm6260/xmm6260_ipc.c index 6f4d8ec..f4de617 100644 --- a/samsung-ipc/device/xmm6260/xmm6260_ipc.c +++ b/samsung-ipc/device/xmm6260/xmm6260_ipc.c @@ -368,8 +368,7 @@ int xmm6260_ipc_common_data_set_fd(void *io_data, int fd) return -1; common_data = (int *) io_data; - // won't work - common_data = &fd; + *common_data = fd; return 0; } |