Combine syrup and rum in a large nonstick skillet; bring to a simmer over medium-low heat. Add banana; cook 3 minutes, stirring occasionally. Add walnuts; cook 1 minute. Serve immediately over frozen yogurt.