mx6: basic: example1: missing variable declaration

Fixes the missing 'ret' variable declaration

Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>